vector finish
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user