summaryrefslogtreecommitdiffstats
path: root/tools/dalvik_jtreg/java
Commit message (Collapse)AuthorAgeFilesLines
* Rename dalvik_jtreg to dalvik_runner.Jesse Wilson2009-12-1725-2436/+0
| | | | Now that it runs caliper and JUnit, the old name was awful clumsy.
* Fixing clean to use rm -rf so it won't fail if the directory wasn't ever ↵Jesse Wilson2009-12-174-16/+47
| | | | | | | created. Adding a --skip-clean option. Adding a --device-runner-dir option to run off the SD card
* Cleaning up after each test to avoid exhausting disk space.Jesse Wilson2009-12-173-31/+64
| | | | Moving tests to the local sdcard.
* Adding some debugging to help figure out why our tests aren't completing.Jesse Wilson2009-12-161-1/+15
|
* Making helper threads daemons in the jtreg runner.Jesse Wilson2009-12-164-13/+55
| | | | | Fixing a bug where we were attempting to execute errord out tests. And renaming the testClasses to a testClasspath.
* Merge change Iadae8af9Android (Google) Code Review2009-12-152-2/+6
|\ | | | | | | | | * changes: Updating Caliper runner to correspond with caliper r20091215
| * Updating Caliper runner to correspond with caliper r20091215Jesse Wilson2009-12-152-2/+6
| |
* | Fix our test runner to look inside source files for package declarations.Elliott Hughes2009-12-152-2/+40
|/ | | | | | The relevant libcore .java files were all under test/java/ directories, but that's not generally true, and not true in the specific case of caliper's benchmarks.
* Support running caliper with the jtreg runner. This is an early first look;Jesse Wilson2009-12-1010-36/+174
| | | | we'll need to fix a few things before the UI for this is nice.
* More jtreg+JUnit love. Getting JUnit to work off-device.Jesse Wilson2009-12-024-9/+20
| | | | Also fixing the number of threads used by the driver.
* JUnit support for jtreg runner. This makes it so that a single commandJesse Wilson2009-12-0219-389/+713
| | | | | | | | | | | | | | | | | will compile a focused set of tests, install them on the device, and run them. There are still some features missing in the current test runner: - it requires JUnit to be compiled manually "mmm external/junit". I'm trying to figure out why our build system cannot find it. - it requires the full test suite already be on the device. This is necessary for the support test files and annotations. I intend to create a follow up change to move those into a smaller target. For now "mmm dalvik snod" will build these. - JUnit test expectations are at the class level, not the method level. I don't yet have a mechanism to introspect the .java file from JUnit to get its method-level detail. - jtreg tests can only be run as a directory, not as a single test.
* Changing JtregRunner to support running tests off device.Jesse Wilson2009-11-259-397/+680
|
* Don't ignore errors on expected result, compile, or install in jtreg runner.Jesse Wilson2009-11-181-7/+16
|
* Specifying the /tmp directory and other properties for test runs.Jesse Wilson2009-11-161-0/+7
| | | | This fixes 2 broken tests in RandomAccessFile, and possibly others.
* Fixing a simple concurrency issue in the jtreg runner.Jesse Wilson2009-11-161-1/+1
|
* Sanitize text before emitting to XML.Jesse Wilson2009-11-061-1/+9
| | | | | | This is the absolute least amount of sanitization that will work. I'll consider adding more as necessary; currently I'm not too interested in spending the time to make this perfect.
* Emitting JUnit+Ant style XML from the jtreg test runner.Jesse Wilson2009-11-044-35/+257
| | | | | | | This change adds some unfortunate code duplication between the jtreg runner and the CoreTestSuite runner. I'd like to eventually loop back and create a unified test runner for either type of test.
* Adding timeouts to jtreg runner.Jesse Wilson2009-11-036-106/+122
| | | | | Also fixing some problems with the Android.mk which was pointing at an old version of the Run class.
* Supporting expected results for the jtreg test runner.Jesse Wilson2009-11-0111-139/+510
| | | | | | | | | | | | | | | | This is necessary to suppress false positives when dalvik intentionally differs from the RI. This came up in the fix for issue 2224903. Also adding additional features to the jtreg runner to make it useful as an iterative development tool: - debugger support, to debug through running tests - verbose output, to aid in diagnosing hangs Also adding a few ".expected" files for known test failures. Hopefully this is scalable. Renaming Run to TestRun and extracting Result as a top-level enum.
* Change the jtreg tool to perform both building and running steps.Jesse Wilson2009-10-2811-177/+360
|
* Script for compiling and dexing jtreg tests for Dalvik.Jesse Wilson2009-10-287-0/+702