Age | Commit message (Collapse) | Author |
|
Test: art/tools/checker/run_unit_tests.py
Test: Run any Checker test with atest or mts
Change-Id: I0452429fa43356d93ca748879bad14ef23609f40
|
|
This reverts commit 5409408a41045c7f178e362311eb51dab992d6db.
Reason for revert: The original issue (b/170308859) is fixed by
https://android-review.googlesource.com/c/platform/art/+/1458282.
Test: art/tools/checker/run_unit_tests.py
Test: art/test/testrunner/testrunner.py --host
Bug: 170308859
Bug: 162408889
Change-Id: Ibc4539403ea77a9e718c830466459e6354ef0f23
|
|
Test: run checker with test that is expected to fail
Change-Id: I14ca5e6bed38e2677cdf4b2eb4b79a6594af6f13
|
|
This reverts commit 961f2954c12cfd66970a3150f2e3ef9b2567300f.
Reason for revert: Breaks some Checker tests on the ART Buildbot (see b/170308859).
Bug: 170308859
Bug: 162408889
Change-Id: If531b015c2aa23d4e64e9e349982dc72cf8dc093
|
|
The porting only required very minor changes,
mostly related to the change of the meaning of the str type
Test: ./run_unit_tests.py
Test: atest art-run-test-583-checker-zero
Bug: 162408889
Change-Id: I9199a740ef19bfadddd6c52c0906e3a843c3ac2e
|
|
The optimizing compiler dumps ISA features into .cfg which can be used
by the checker. A new tool perf2cfg needs to know ISA a CFG corresponds
to. The tool uses this to check that input perf data has the same ISA.
This CL implements in the compiler dumping ISA in addition to ISA features:
begin_compilation
name "isa:some_isa isa_features:feature1,-feature2"
method "isa:some_isa isa_features:feature1,-feature2"
date 1580721972
end_compilation
Bug: 147876827
Test: ./art/tools/checker/run_unit_tests.py
Test: test.py --target --optimizing --jit --interpreter
Test: test.py --host --optimizing --jit --interpreter
Change-Id: I189eae0f4de61e6a49c01d925e7136b5f7027c91
|
|
Developers are now able to use hasIsaFeature("feature_name") to
check if an instruction set feature was used at compile time.
Checker will retrieve the list of features from the .cfg file. It
expects them to be dumped at the beginning of the file as a fake
compilation block in the following form:
begin_compilation
name "isa_features:feature1,-feature2"
method "isa_features:feature1,-feature2"
date 1580721972
end_compilation
Dumping that is optional. hasIsaFeature() will always return False
if that pass is not found.
Author: Fabio Rinaldi
Committer: Artem Serov
Bug: 147876827
Test: ./art/tools/checker/run_unit_tests.py
Test: test.py --target --optimizing
Change-Id: I4ce15d853025f9863d7981b33b761cfc799fed50
|
|
- The '.cfg' output is now created on target.
- Arch-specific checker tests can be created by inserting a
suffix. For example:
/// CHECK-START-ARM64: int Main.foo(int) register (after)
/// CHECK-DAG: <<Arg:i\d+>> ParameterValue
Change-Id: I55cdb37f8e806c7ffdde6b676c8f44ac30b59051
|
|
Checker code has become too messy and incomprehensible. This patch
splits it into more manageable and better structured units.
Functionality remains unchanged.
Resubmission of change I870c69827d2be2d09196a51382a3f47f31cd2ba3 due
to omission of file 'tools/checker/file_format/common.py'.
Change-Id: I277a4aa65a2e3b54f0e89901fdb9f289f55a325f
|
|
This reverts commit a490be5dd95982f77ff1447bea9ee06604038a96.
Change-Id: Ic3b7cf172200caced9ae2f10d2f200447e6801ee
|
|
Checker code has become too messy and incomprehensible. This patch
splits it into more manageable and better structured units.
Functionality remains unchanged.
Change-Id: I870c69827d2be2d09196a51382a3f47f31cd2ba3
|