mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-13 10:42:56 +01:00
improved runalltests (#255)
This commit is contained in:
parent
408061280f
commit
8112f75dcf
@ -1,14 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -v
|
set -v
|
||||||
#set -x
|
|
||||||
|
|
||||||
|
|
||||||
# test_execs=`find ./test_* -perm /u=x`
|
# test_execs=`find ./test_* -perm /u=x`
|
||||||
test_execs=`find ./test_* -type f -perm +ugo+x -print`
|
test_execs=`find ./test_* -type f -perm +ugo+x -print`
|
||||||
|
|
||||||
echo "Tests to run: $test_execs"
|
echo "Tests to run: $test_execs"
|
||||||
|
|
||||||
while read -r testsuite; do
|
while read -r testsuite; do
|
||||||
./"$testsuite"
|
./"$testsuite"
|
||||||
if [ "$?" -ne 0 ]; then
|
if [ "$?" -ne 0 ]; then
|
||||||
@ -17,15 +14,3 @@ while read -r testsuite; do
|
|||||||
fi
|
fi
|
||||||
done <<< "$test_execs"
|
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user