-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Issue #173 Fixing lots of issues with schemas * DDT Schema processing. Much better now * Updating info printed out. Adding some ICU67 data, too * Fix Dart syntax problem * Remove dart_web update * Removing ICU67 data * Adding back run_config.json * Resetting run_config.json * Add schema for message_fmt2 test output * Fix typo in Verify * Fix duplicate line for rdt * Set schema failures to exit hard. Clean up code warnings * Fix details on schema validation * Fix failure in catching non-fatal exception * Update schema/schema_validator.py Co-authored-by: Elango Cheran <[email protected]> * Update schema/schema_validator.py Co-authored-by: Elango Cheran <[email protected]> * Actually stops the processing on bad schema files --------- Co-authored-by: Elango Cheran <[email protected]>
- Loading branch information
Showing
39 changed files
with
897 additions
and
264 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
|
||
# Part of the generateDataAndRun.sh file that | ||
# runs the verifier. | ||
set -e | ||
|
||
# Rotate log files | ||
logrotate -s logrotate.state logrotate.conf | ||
|
||
########## | ||
# Setup (generate) test data & expected values | ||
########## | ||
|
||
# Ensure that ICU4C binaries have been downloaded locally | ||
if [[ ! -d gh-cache ]] | ||
then | ||
bash setup.sh | ||
fi | ||
|
||
# Generates all new test data | ||
source_file=${1:-'run_config.json'} | ||
|
||
# ... | ||
|
||
# Verify everything | ||
mkdir -p $TEMP_DIR/testReports | ||
pushd verifier | ||
|
||
all_test_types=$(jq '.[].run.test_type' ../$source_file | jq -s '.' | jq 'add' | jq 'unique' | jq -r 'join(" ")') | ||
all_execs=$(jq -r 'join(" ")' <<< $all_execs_json) | ||
python3 verifier.py --file_base ../$TEMP_DIR --exec $all_execs --test_type $all_test_types | ||
|
||
popd | ||
|
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.