Lines Matching refs:test

19 The run-tests are identified by directories in this `test` directory, named with
28 The run-tests logic lives in the `test/run-test` Bash script. The execution of a
29 run-test has three main parts: building the test, running the test, and checking
30 the test's output. By default, these three steps are implemented by three Bash
31 scripts located in the `test/etc` directory (`default-build`, `default-run`, and
33 `test/run-test`.
36 if the test's directory contains a Bash script named after the step
38 is actually implemented in the "JAR runner" (`test/etc/run-test-jar`), invoked
39 by `test/etc/default-run`.
41 After the execution of a run-test, the check step's default behavior
42 (implemented in `test/etc/default-check`) is to respectively compare its
44 `expected-stdout.txt` and `expected-stderr.txt` files contained in the test's
45 directory; any mismatch triggers a test failure.
47 The `test/run-test` script handles the execution of a single run-test in a given
48 configuration. The Python script `test/testrunner/testrunner.py` is a convenient
52 To see the invocation options supported by `run-test` and `testrunner.py`, run
55 art/test/run-test --help
58 art/test/testrunner/testrunner.py --help
68 some test Dex files and core images.
74 gtests can be run by executing `m test-art-host-gtest`. On device, the
81 All tests in either suite can be run using the `art/test.py`
88 run tests on target (rather than using `art/test.py --target`).
93 $ art/test.py -h
100 option -b) to `art/test.py` program to automatically build required dependencies.
101 One can also directly use the various `test-art-...-dependencies` targets listed
107 $ # Build test files
108 $ m test-art-host-run-test-dependencies
110 $ art/test.py --host
116 $ art/test.py -b --host
122 $ # Build test files
123 $ m test-art-target-run-test-dependencies
125 $ art/test.py --target
131 $ art/test.py -b --target
137 $ art/test.py --host -g
143 $ art/test.py --target -g
149 $ # Build test files
150 $ m test-art-host-run-test-dependencies
151 $ art/test.py --host -r
157 $ art/test.py -b --host -r
163 $ art/test.py --target -r
166 ## Running one run-test on the build host
169 $ # Build test files
170 $ m test-art-host-run-test-dependencies
172 $ art/test.py --host -r -t 001-HelloWorld
178 $ art/test.py -b --host -r -t 001-HelloWorld
181 ## Running one run-test on the target device
184 $ art/test.py --target -r -t 001-HelloWorld
190 $ find out/host/ -type f -name art_runtime_tests # Find the path of the test.
195 Add "--gtest_filter=..." to select specific sub-test(s) to run.
196 Prefix by "gdb --args " to run the test in gdb.
202 other test suites are run continuously on this service: Libcore tests and JDWP