-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Kjell Hedström
authored
Mar 8, 2018
1 parent
f2b860a
commit 14db37a
Showing
13 changed files
with
364 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,30 @@ | ||
#!/bin/bash | ||
|
||
set -ev | ||
set -x | ||
|
||
./test_concept_sink && \ | ||
./test_cpp_future_concepts && \ | ||
./test_dynamic_loaded_shared_lib | true && \ | ||
./test_filechange && \ | ||
./test_io && \ | ||
./test_sink && \ | ||
./test_message | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.