Files
metadesk/bin/build_tests.sh
T
Mārtiņš Možeiko fdab8bd6b2 add github actions
2021-11-14 18:13:28 -08:00

23 lines
622 B
Bash
Executable File

#!/bin/bash
set -eo pipefail
###### Get Paths ##############################################################
og_path=$PWD
cd "$(dirname "$0")"
cd ..
###### Script #################################################################
echo "~~~ Build All Tests ~~~"
bin/bld_core.sh show_ctx
bin/bld_core.sh unit sanity_tests tests/sanity_tests.c
bin/bld_core.sh unit unicode_test tests/unicode_test.c
bin/bld_core.sh unit cpp_build_test tests/cpp_build_test.cpp
bin/bld_core.sh unit expression_tests tests/expression_tests.c
echo
###### Restore Path ###########################################################
cd $og_path