vector finish

This commit is contained in:
hugogogo
2022-06-14 21:25:16 +02:00
parent 988d67e908
commit 005382a3ac
11 changed files with 584 additions and 71 deletions

View File

@@ -1,12 +1,18 @@
#!/bin/bash
# cd $(dirname $0)
TEST_DIR=$(dirname $0)
OUTPUT_STL="output_stl.log"
OUTPUT_FT="output_ft.log"
make stl > /dev/null
echo -e "\nstl :"
time ./containers > tests/output_stl.log
time ./containers > tests/$OUTPUT_STL
make ft > /dev/null
echo -e "\nft :"
time ./containers > tests/output_ft.log
time ./containers > tests/$OUTPUT_FT
diff --context=0 --color=always tests/output_stl.log tests/output_ft.log
diff --context=0 --color=always tests/$OUTPUT_STL tests/$OUTPUT_FT
/bin/rm $TEST_DIR/$OUTPUT_STL $TEST_DIR/$OUTPUT_FT