improved runalltests (#255)

This commit is contained in:
Kjell Hedström 2018-03-25 23:35:52 -06:00 committed by GitHub
parent 408061280f
commit 8112f75dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,11 @@
#!/bin/bash
set -v
#set -x
# test_execs=`find ./test_* -perm /u=x`
test_execs=`find ./test_* -type f -perm +ugo+x -print`
echo "Tests to run: $test_execs"
while read -r testsuite; do
./"$testsuite"
if [ "$?" -ne 0 ]; then
@ -17,15 +14,3 @@ while read -r testsuite; do
fi
done <<< "$test_execs"
#option 2
#find ./test_* -perm /u=x -exec '{}' ';'
# option 3
#./test_concept_sink && \
#./test_cpp_future_concepts && \
#./test_dynamic_loaded_shared_lib | true && \
#./test_filechange && \
#./test_io && \
#./test_sink && \
#./test_message