Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
perazz committed Jun 10, 2024
1 parent 6cb9a74 commit 0cf3a9f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ci/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,30 @@ do
echo "$filename"
"$fpm" ${cmdrun[$j]} $filename
test -e $filename.txt
# non-i-th tests should not have run
for k in ${others[@]}
do
test ! -e ${targets[$k]}$k.txt
done
done
done

# Test building all test targets
cmdrun=( "test" "test --runner time" )
for j in {0..1}
do
rm -f *.txt
"$fpm" ${cmdrun[$j]}
# all tests should have run
for k in ${cases[@]}
do
test -e test$k.txt
done
done

popd


pushd auto_discovery_off
"$fpm" build
"$fpm" run --target auto_discovery_off
Expand Down

0 comments on commit 0cf3a9f

Please sign in to comment.