1#!/bin/bash
2#
3# Copyright (c) 2020 Nordic Semiconductor ASA
4#
5# SPDX-License-Identifier: Apache-2.0
6#
7
8pushd "scripts"
9python3 -m unittest test_zcbor test_repo_files
10[[ $? -ne 0 ]] && popd && exit 1
11popd
12
13if [[ -z "$ZEHPYR_BASE" ]]; then
14        ZEPHYR_BASE=$(west topdir)/zephyr
15fi
16
17$ZEPHYR_BASE/scripts/twister -M -v -T . -W --exclude-tag release --platform native_posix --platform native_posix_64 --platform mps2/an521/cpu0 $*
18