g3log/scripts/runAllTests.sh
Kjell Hedström 14db37ad23
G3log placeholder thread ID formatting (#248)
* Added thread ID configurable through API calls. Left to do g3sinks, documentation and some corner test cases for CHECK, LOG(FATAL) and FATAL signal

* improve test script, break if error

* easier to use API. Api docs added

* Update API.markdown

* Update API.markdown

* Update API.markdown

* updated readme with details for overriding default for "full details"

* updated custom sink with custom formatting example
2018-03-08 09:16:12 -07:00

31 lines
526 B
Bash
Executable File

#!/bin/bash
set -v
#set -x
test_execs=`find ./test_* -perm /u=x`
echo "Tests to run: $test_execs"
while read -r testsuite; do
./"$testsuite"
if [ "$?" -ne 0 ]; then
echo "Aborting. \"$testsuite\" had failing test(s)"
exit 1
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