Fix timings in new StlPlayer

This commit is contained in:
2023-03-17 14:50:50 +01:00
parent a49afa40eb
commit 3d4f73361f
5 changed files with 26 additions and 8 deletions

View File

@@ -1,7 +1,9 @@
#!/bin/bash
if [[ $(sqldiff ${CMAKE_CURRENT_SOURCE_DIR}/${standard}/expected/${output_filename} ${output_filename}) ]]; then
exit -1
else
exit 0
fi
# When comparing the whole database, we do not care if there are differences or not.
# The tables that need to be checked have their own tests.
# The purpose of this script is solely to output the differences of the two databases
# so that they can be inspected easily.
sqldiff ${CMAKE_CURRENT_SOURCE_DIR}/${standard}/expected/${output_filename} ${output_filename}
exit 0

View File

@@ -1,6 +1,9 @@
#!/bin/bash
if [[ $(sqldiff --table ${table} ${CMAKE_CURRENT_SOURCE_DIR}/${standard}/expected/${output_filename} ${output_filename}) ]]; then
stdout=$(sqldiff --table ${table} ${CMAKE_CURRENT_SOURCE_DIR}/${standard}/expected/${output_filename} ${output_filename})
if [[ $stdout ]]; then
echo $stdout
exit -1
else
exit 0