mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-13 10:42:56 +01:00
14db37ad23
* 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
31 lines
526 B
Bash
Executable File
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
|