Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions coremark/base_test_results/test1/verify

This file was deleted.

4 changes: 4 additions & 0 deletions coremark/coremark_run
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ coremark_version="v1.01"
test_name="coremark"
results_file="results_${test_name}.csv"
arguments="$@"
script_dir=$(realpath $(dirname $0))

exit_out()
{
Expand Down Expand Up @@ -418,6 +419,9 @@ fi

run_coremark

$TOOLS_BIN/csv_to_json $to_json_flags --csv_file ${results_file} --output_file results_coremark.json
$TOOLS_BIN/verify_results $to_verify_flags --schema_file $script_dir/../result_schema.py --class_name CoremarkResults --file results_coremark.json

# Shutdown PCP and clean up after ourselves
if [[ $to_use_pcp -eq 1 ]]; then
shutdown_pcp
Expand Down
4 changes: 0 additions & 4 deletions coremark/verification_config/test_verify

This file was deleted.

6 changes: 6 additions & 0 deletions result_schema.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import pydantic

class CoremarkResults(pydantic.BaseModel):
iteration: int = pydantic.Field(gt=0)
threads: int = pydantic.Field(gt=0)
IterationsPerSec: float = pydantic.Field(gt=0, allow_inf_nan=False)
Loading