More consistent file naming for bytecode compare artifacts

- This will make it easier to have a single variable specifying the interface.
This commit is contained in:
Kamil Śliwak 2023-06-15 12:43:37 +02:00
parent b26090c288
commit e8c4d0e324

View File

@ -81,17 +81,16 @@ commands:
steps: steps:
- run: mkdir test-cases/ - run: mkdir test-cases/
- run: cd test-cases && python3 ../scripts/isolate_tests.py ../test/ - run: cd test-cases && python3 ../scripts/isolate_tests.py ../test/
- run: cd test-cases && python3 ../scripts/bytecodecompare/prepare_report.py << parameters.binary_path >> --interface standard-json --report-file "../bytecode-report-<< parameters.label >>-json.txt" - run: cd test-cases && python3 ../scripts/bytecodecompare/prepare_report.py << parameters.binary_path >> --interface standard-json --report-file "../bytecode-report-<< parameters.label >>-standard-json.txt"
- run: cd test-cases && python3 ../scripts/bytecodecompare/prepare_report.py << parameters.binary_path >> --interface cli --report-file "../bytecode-report-<< parameters.label >>-cli.txt" - run: cd test-cases && python3 ../scripts/bytecodecompare/prepare_report.py << parameters.binary_path >> --interface cli --report-file "../bytecode-report-<< parameters.label >>-cli.txt"
- store_artifacts: - store_artifacts:
path: bytecode-report-<< parameters.label >>-json.txt path: bytecode-report-<< parameters.label >>-standard-json.txt
- store_artifacts: - store_artifacts:
path: bytecode-report-<< parameters.label >>-cli.txt path: bytecode-report-<< parameters.label >>-cli.txt
- persist_to_workspace: - persist_to_workspace:
root: . root: .
paths: paths:
- bytecode-report-<< parameters.label >>-json.txt - bytecode-report-<< parameters.label >>-*.txt
- bytecode-report-<< parameters.label >>-cli.txt
- matrix_notify_failure_unless_pr - matrix_notify_failure_unless_pr
install_python3: install_python3:
@ -1553,13 +1552,13 @@ jobs:
environment: environment:
REPORT_FILES: | REPORT_FILES: |
bytecode-report-emscripten.txt bytecode-report-emscripten.txt
bytecode-report-ubuntu2004-static-json.txt bytecode-report-ubuntu2004-static-standard-json.txt
bytecode-report-ubuntu2004-static-cli.txt bytecode-report-ubuntu2004-static-cli.txt
bytecode-report-ubuntu-json.txt bytecode-report-ubuntu-standard-json.txt
bytecode-report-ubuntu-cli.txt bytecode-report-ubuntu-cli.txt
bytecode-report-osx-json.txt bytecode-report-osx-standard-json.txt
bytecode-report-osx-cli.txt bytecode-report-osx-cli.txt
bytecode-report-windows-json.txt bytecode-report-windows-standard-json.txt
bytecode-report-windows-cli.txt bytecode-report-windows-cli.txt
steps: steps:
- attach_workspace: - attach_workspace: