History log of /external/vogar/src/vogar/Driver.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
890bf02f48c3eb534bb741a69aa1c4d06e9fe67a 23-Feb-2016 Neil Fuller <nfuller@google.com> Fix --toolchain jack --mode device --benchmark

Bug: 27312904
Change-Id: I179c6d923667a8a9104ca7a2e3c113bd1541ef38
/external/vogar/src/vogar/Driver.java
51e82d0c6bd72bbf8a7428f7e8f0881337910e2c 11-Feb-2016 Neil Fuller <nfuller@google.com> Move to using jack for more things instead of dx

Use jack to create .dex.jar files for --mode=host and
--mode=device with --toolchain jack.

Also allow for .jack files on the classpath.

This is a quick-and-dirty change to keep things working for
Jack. Jack is required for the Java 8 work to proceed without
breaking the ART continuous build.

This change deliberately leaves the existing (toolchain=jdk)
untouched.

These changes are just intended to modify the --toolchain
jack behavior. --toolchain jdk should remain the same.

Bug: 27115876
Bug: 26753820
(cherry-picked from commit 4b2e7ab15323b2b057e8bb7b0cf361bb2ab880e0)

Change-Id: I02e7b7aa144f49e1fde8de16384b170be6f50cb0
/external/vogar/src/vogar/Driver.java
99a9b24d3c0901b8205535eb80940b357b826822 15-Sep-2015 Neil Fuller <nfuller@google.com> Make Task failures return a non-zero exit code

In the event of a Task failure (e.g. if Dex failed) vogar would
still complete with a zero exit code. Now it exits with a 1 exit
code.

Bug: 23995849
Change-Id: I01d8fa07626af5b1fd6ab4d04c67c9ea439e7949
/external/vogar/src/vogar/Driver.java
5ad56966d0c66ab4b733fe97c4b862f5f85711e8 09-Dec-2014 Nicolas Geoffray <ngeoffray@google.com> Add a new "warning" outcome type.

In order to get the same behavior as CTS (that disregards tests in the
expectation files), we need to make "result" entries of tests listed
in the files as an expectation that will just warn and not fail if
the execution result is not the same.

Change-Id: Id9b1ea17098b54df7f0cc71a169f4a1093aee113
/external/vogar/src/vogar/Driver.java
0eb0936e90bf11463c8ee937ca996d7bd654a098 07-Dec-2011 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Get most of running on a device via SSH working.

Run on a device like this:
vogar --mode device --ssh 192.168.149.198:2222 SocketTest.java

Currently this is failing because dalvikvm segfaults when invoked via SSH. I suspect it might be a problem with the SSH server running with either the wrong environment or the wrong privileges. I continue to investigate

git-svn-id: http://vogar.googlecode.com/svn/trunk@266 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
db82cde9016d812b26b6c79e375fdf60ead1d9fa 02-Dec-2011 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Redefine Environment to Target, with "AdbTarget" and "LocalTarget" implementations. This makes it possible for a new "SshTarget" implementation.

git-svn-id: http://vogar.googlecode.com/svn/trunk@265 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
6a0f4cdb51f57b4b38f9ee1ed9f44f1afc9f6da6 02-Dec-2011 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Cleanup registration of task dependencies. Do all of that registration in the driver.

git-svn-id: http://vogar.googlecode.com/svn/trunk@264 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
f83be5e4273263df2bb9ef609946b911695b3996 02-Dec-2011 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Use tasks everywhere.

I still need to smash together the 'Run' and 'Vogar' classes; this is an intermediate step on the way to removing miniguice DI from vogar.

git-svn-id: http://vogar.googlecode.com/svn/trunk@263 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
2c37ef5a628067f4d7e5a5c69a7314647939a5e1 01-Dec-2011 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Another intermediate step in refactoring vogar.

This bets more heavily on tasks, but doesn't quite get to the goal where environments and modes are simply factories for tasks.

git-svn-id: http://vogar.googlecode.com/svn/trunk@262 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
c10fce89841f100758df681ec283c794f5e48d37 30-Nov-2011 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Intermediate step in refactoring vogar to be composed of tasks. When this is done we should have better parallelism and it should be simpler to introduce newer, more sophisticated modes.

git-svn-id: http://vogar.googlecode.com/svn/trunk@261 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
65f912d4a3a6401de63031e0a7593a92b02f5f72 15-Mar-2011 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Send kill -3 before killing the process.

git-svn-id: http://vogar.googlecode.com/svn/trunk@241 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
bd8bda78cc5740aeae8de67b52f1d86e208f4864 07-Mar-2011 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Use our own minimal JUnit instead of the full framework. This permits us to create test instances lazily and dispose of them eagerly.

git-svn-id: http://vogar.googlecode.com/svn/trunk@238 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
f7cb247687b72084b71a434a25d8b3c320071a96 21-Feb-2011 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Write all results to one large file rather than many small files. Intended to improve performance with NFS.

git-svn-id: http://vogar.googlecode.com/svn/trunk@233 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
b5c5c44d0c0a01c278cdac68ae23646682eb8ef7 19-Dec-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Inject the log rather than looking it up statically. This is needed for other apps that want to reuse the ExpectationStore but not the rest of Vogar!

git-svn-id: http://vogar.googlecode.com/svn/trunk@219 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
6d3e07846419470d3fbbb3bc4b11fc184278293e 15-Dec-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Use the action name when the outcome name is insufficient.

git-svn-id: http://vogar.googlecode.com/svn/trunk@215 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
d2798be56014447342d1c8f6426e070f955007b8 03-Dec-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Don't bail if the test self-timed out

git-svn-id: http://vogar.googlecode.com/svn/trunk@211 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
3cea2f55f3da60eb0c4bdd1616cbfa964ee2cd91 02-Dec-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Fix skipPast so that it's honored across test classes.

git-svn-id: http://vogar.googlecode.com/svn/trunk@210 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
381adf702edf8a8f3b899f04c492ad615400370c 17-Nov-2010 enh@google.com <enh@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> src/vogar/Driver.java: if the VM crashes part way through a test, that's not a success...


git-svn-id: http://vogar.googlecode.com/svn/trunk@205 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
25474567cbae1e6d9cf9441ca8ce17adf286f967 02-Nov-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Record an outcome if no outcomes are started. This occurs for example, when the timeouts are very small.

git-svn-id: http://vogar.googlecode.com/svn/trunk@199 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
306a45752817a0c6a54188d8b0b403adda9ae4dd 02-Nov-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Don't run the same action forever in a loop when it crashes!

git-svn-id: http://vogar.googlecode.com/svn/trunk@198 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
3cc430f91313dab5074cffa6508c0b47cd9f2b50 25-Oct-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Sort tests. Kill the target process if there's a timeout.

The target process has a new flag --skipPast.

git-svn-id: http://vogar.googlecode.com/svn/trunk@191 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
4878be6187c09b4b65fed8c99f3aedb9b613d59c 17-Oct-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Don't inject unwanted line breaks when streamed output is not attached to a test case.

git-svn-id: http://vogar.googlecode.com/svn/trunk@181 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
dbd85addb4e44255c4296b82d3ca45ad33a56649 16-Oct-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Fixed activity mode. Vogar will use stdout/stderr by default, and a socket when that's not possible.

git-svn-id: http://vogar.googlecode.com/svn/trunk@179 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
693bab6f249797311a9c4bcd4c9d9c7cfd5ae8d3 16-Oct-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Change how host + target processes communicate.

It used to read XML over a socket. This was robust but omitted native output to stdout and stderr.

Now it reads JSON over stdout. The socket code is still in place (but not currently used) because this change breaks activity mode. I'll do that as a follow up commit.

git-svn-id: http://vogar.googlecode.com/svn/trunk@178 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
3617522d6678cd021a98b635b46e536ae14b45f3 23-Sep-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Change expectations file format to JSON.

git-svn-id: http://vogar.googlecode.com/svn/trunk@161 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
d9085944c8b6d18628266347c59545abae03ab9c 13-Sep-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Adopt miniguice for dependency injection in vogar. This removes the awful amount of duplication previously necessary to initialize fields.

git-svn-id: http://vogar.googlecode.com/svn/trunk@154 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
e5dfbecbaa8568c2885a4cb859c8afa8b6a08d5b 21-Aug-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Three changes: -Xdexopt:none for dalvikvm when performance doesn't matter (i.e. no --benchmark flag), dex everything together when performance does matter (i.e. with --benchmark flag) (and enforce this for Caliper benchmarks), and a tiny formatting change that happened to be in my sandbox.

git-svn-id: http://vogar.googlecode.com/svn/trunk@149 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
3929fabea650aee5ed067a335056dbf76ffd0075 02-Aug-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Short-circuit monitor connection if the command it is trying to monitor has completed.

git-svn-id: http://vogar.googlecode.com/svn/trunk@141 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
3c513c52be35990697865d1ad171378565cae1f0 30-Jul-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Dedupe tests by excluding AllTests when running a package of tests. Allow monitors to write unstructured output for debugging purposes.

git-svn-id: http://vogar.googlecode.com/svn/trunk@139 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
75a72cc4c645e7e038f381c936d3f521ac6c30ad 24-Jul-2010 bdc@google.com <bdc@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> have vogar return a non-zero value if there were any failures for scripting

git-svn-id: http://vogar.googlecode.com/svn/trunk@138 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
c68971a68a4f7fe5a58ca0f59161bb44fcf2833d 22-Jul-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Refactoring how monitors work to make custom monitors possible.

git-svn-id: http://vogar.googlecode.com/svn/trunk@136 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
37f7c3a73d290eed1bf4cdff80e029eaa7620801 22-Jul-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Extract an interface for monitors; and permit the environments to supply custom monitors.

git-svn-id: http://vogar.googlecode.com/svn/trunk@134 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
d59b17f5dc87d856a01714853d5296d387ff8ded 22-Jul-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Move general utility classes to a util/ package.

git-svn-id: http://vogar.googlecode.com/svn/trunk@132 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
c75ca9708aa8056c32a317ae06e67b439e7d739e 22-Jul-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Extending the grace period on killing forked processes that refuse to kill themselves.

git-svn-id: http://vogar.googlecode.com/svn/trunk@131 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
c96307210bb4e50cdf62524315736a05f1c24fee 13-Jul-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Adding more information about what a forked process is executing to help diagnose timeout problems.

git-svn-id: http://vogar.googlecode.com/svn/trunk@128 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
89f482b19ec890fb3dfda3c41fe3e7df5ff0d2a6 12-Jul-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Fix a bug where I was forgetting to adjust the monitor port for the number of threads when running in the continuous build.

git-svn-id: http://vogar.googlecode.com/svn/trunk@127 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
7fe51ad17d45a383bfbd5f7432c8cb4940603bcd 08-Jul-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Don't start the test timeout until after the monitor has connected!

git-svn-id: http://vogar.googlecode.com/svn/trunk@125 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
6147747c6b8a3bc4288039eeb1402c617ad14022 07-Jul-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Killing the socket when a process times out. Previously we weren't, and that left vogar hanging indefinitely.

git-svn-id: http://vogar.googlecode.com/svn/trunk@121 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
f3784360da4260f50e231bfa5901bd36fe4348f9 30-Jun-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Making destroy() warn if the process refused to die.

git-svn-id: http://vogar.googlecode.com/svn/trunk@114 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
8918b5cafd482363a48e0bc9ae0114028cda7e79 29-Jun-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Respond to r103 comments.

Some parts that I disagree with:

- I feel like putting all this display logic in AnnotatedOutcome would overstep the bounds of what it's meant to do. Really, it's summarizeOutcomes() that cares how things are displayed, and I'd prefer changes in presentation to be done in there instead of in AnnotatedOutcome.

- I'm intentionally keeping the config file separate from the vogar-dir since the location of the config file is not something that can be specified at the command-line, while the location of the vogar-dir is.

git-svn-id: http://vogar.googlecode.com/svn/trunk@106 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
cbccd72df97430eb2951f62c286207b332f207ee 28-Jun-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Reporting even more diagnostic informatoin when a run locks up.

git-svn-id: http://vogar.googlecode.com/svn/trunk@105 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
d806c4c900e08bf04e07b5c564f2f61d8c490731 23-Jun-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Add test history. Key additions:

* if a --results-dir is specified, compares current run against previous runs saved in that directory
* --record-results saves outcomes to a file-system database (given by --results-dir). Conceptually, this should be done only on the continous build machine, but I can imagine some local uses
* --tag now saves a history for that tag
* --compare-to-tag or --run-tag will compare against the history saved when the tag was created

git-svn-id: http://vogar.googlecode.com/svn/trunk@103 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
a3277076370bf459168af1bbeedeffd1bee8898d 19-Jun-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Improving reporting and messaging when tests time out: Naming threads, tidying timeout exceptions, and fixing warnings.

git-svn-id: http://vogar.googlecode.com/svn/trunk@98 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
fcd851661001aec3c2c0db3a72f20c30c934ae44 17-Jun-2010 bjdodson@google.com <bjdodson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Removed timeout for benchmarks

git-svn-id: http://vogar.googlecode.com/svn/trunk@95 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
5884b0e6bc3eec46f4a374254626a14d128179fa 16-Jun-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Run tests in parallel whenever --no-stream is specified.

git-svn-id: http://vogar.googlecode.com/svn/trunk@90 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
00d4ce596c71916d975f6c8d967af53ab0a8f453 11-Jun-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Address all of Jesse's comments with the exception of the comment about the use of an environment variable and path separators. That's for a separate change.

git-svn-id: http://vogar.googlecode.com/svn/trunk@86 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
3dafbce3b8d025f465ebf0a4c6d018c7dc31654e 04-Jun-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Add a flag, --suggest-classpaths, that suggests jars to add to the classpath if Vogar fails due to missing classes. It does this by building a map of classes and packages to the jars in which they are contained, and then when it sees a failure like "package foo.bar does not exist" in the outcome it tells you a jar that you can add to the classpath to get it.

To find the jars, it looks at the directories in a colon-separated environment variable called VOGAR_JAR_PATH. I have mine set to <DALVIK ROOT>/out/target/common/obj/JAVA_LIBRARIES/, since this seems to be where most of the important jars are kept. Right now it only looks for jars called "classes.jar", but it's easy to extend it to look for other types of jars as well.

It takes a few seconds to build the index the first time you use it, but retrieves a cached version very quickly on subsequent runs. It rebuilds the cache daily unless you manually delete it (from ~/.vogar/classfileindex).

Example:

If you run:

vogar --suggest-classpaths <DALVIK ROOT>/libcore/luni/src/test/java/tests/sql/StatementTest.java

it will spit out:

"Warning: consider adding the following to the classpath:
<DALVIK ROOT>/out/target/common/obj/JAVA_LIBRARIES/sqlite-jdbc_intermediates/classes.jar"

I don't know how generally useful this is, but it's saved me quite a bit of time when trying to get tests to run properly.

git-svn-id: http://vogar.googlecode.com/svn/trunk@85 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
ba1c2cee7506480a0a239e2d99a944d08fc47be5 25-May-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Fixing some UI problems. We were printing multiple lines without a lock which sometimes let to "<line 1><line 2>\n\n" rather than "<line 1>\n<line 2>\n".

Also including skips in the total outcomes count.

git-svn-id: http://vogar.googlecode.com/svn/trunk@77 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
8c03f5a6370cf6521384a268e12808e163ae4339 25-May-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Adding tags to expectations and a 'large' tag for extending the timeout by 10x. The motivation here is to permit some additional jtreg tests to run to completion; particularly those like EnumSetBash that run a while.


git-svn-id: http://vogar.googlecode.com/svn/trunk@76 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
596f5509490de3f67dfb7ff25991bec8dd7f43ab 23-May-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Use a consistent strategy for converting filenames to action names. This is only necessary when files don't yield actions!

git-svn-id: http://vogar.googlecode.com/svn/trunk@74 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
995a215ce56a98ed522888b0fdc286cd612c0218 23-May-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Trying to improve reporting and reliability for the continuous build:

- Always use absolute file for actions.
- Don't bother with the background javac when actions don't need to be compiled.
- Wrap exceptions before throwing them from another thread. This is a workaround for a VM bug

git-svn-id: http://vogar.googlecode.com/svn/trunk@73 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
f76fbba3cdfe42da878cd2f54c75ac02265e97fb 20-May-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Fixing vogar for use with the jtreg suite. It was crashing on tests with invalid package names.

git-svn-id: http://vogar.googlecode.com/svn/trunk@67 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
5f259f695c03b0695ce802a8db917353adf21b44 20-May-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Following up with enh's timeout fixes.

We now timeout properly on both host and target side. When a target process times out, we take a stacktrace of the offending thread.

git-svn-id: http://vogar.googlecode.com/svn/trunk@65 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
98186c525098df1c7f64f971edada9c99c0711ff 19-May-2010 enh@google.com <enh@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> src/vogar/Driver.java: comment out the overall timeout, the cause of the broken XML. This needs to be replaced by code that reschedules the timeout after receipt of each outcome.


git-svn-id: http://vogar.googlecode.com/svn/trunk@63 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
d296ba8af13d367b4a701ddeba405ee51caa05c1 19-May-2010 enh@google.com <enh@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> src/vogar/commands/AndroidSdk.java:
src/vogar/commands/Command.java:
src/vogar/Driver.java:
src/vogar/Mode.java:
src/vogar/target/CaliperRunner.java:
src/vogar/target/JUnitRunner.java:
src/vogar/target/MainRunner.java:
src/vogar/target/Runner.java:
src/vogar/target/TestRunner.java:
src/vogar/TestProperties.java:
src/vogar/Vogar.java: pass --timeout through to the JunitRunner. This isn't sufficient; try "~dalvik-prebuild/bin/run-harmony-tests --timeout 10 org.apache.harmony.nio_char.tests.java.nio.charset.AllTests tests.api.java.nio.charset.AllTests", for example. We still end up skipping a lot of tests, and when we time out, we get "Received bad XML from localhost:8787 org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.".


git-svn-id: http://vogar.googlecode.com/svn/trunk@62 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
1d4fef707a383dc57285e6608ca290be48811a85 19-May-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Skip tests that for which we can't find a runner. Add new yellow output for skipped tests. This fixes an illegal argument exception that would come up in this case previously.

git-svn-id: http://vogar.googlecode.com/svn/trunk@57 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
a7a8fe1efa0fb3299d68709d60701a045bcc72f3 13-May-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Add class analysis so that we no longer rely on file names to determine which type of test to run (e.g. junit, caliper, etc). This decision is also now made on the device side.

As a result cleaned up the RunnerSpec classes, which are no longer required.

git-svn-id: http://vogar.googlecode.com/svn/trunk@53 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
5be57c59daa39733d3d56888049a0b33d1901ede 26-Apr-2010 bdc@google.com <bdc@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Improve vogar's sourcepath computation for compiling actions

Action now has a sourcePath field which is supplied with compiling any sources for the action.

src/vogar/Action.java

Use the action's sourcepath, instead of just the parent directory of the Java file.

src/vogar/Mode.java

We now compute the sourcePath for NamingPatternRunnerSpec given
the class name and file path of the source. For example, given
luni/src/test/java/org/apache/harmony/luni/tests/java/util/ArrayListTest.java
and org.apache.harmony.luni.tests.java.util.ArrayListTest, the
source path is luni/src/test/java.

src/vogar/NamingPatternRunnerSpec.java

In the JtregSpec case, use the parent of the source as the sourcepath.

src/vogar/JtregSpec.java

In the case of running a class as an action, pass in null for sourcepath.

src/vogar/Driver.java



git-svn-id: http://vogar.googlecode.com/svn/trunk@28 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
027ca289d7c7b21501a9d14e69f10735033f57a0 25-Apr-2010 elliott.n.hughes@gmail.com <elliott.n.hughes@gmail.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> src/vogar/ActivityMode.java:
src/vogar/commands/AndroidSdk.java:
src/vogar/commands/Command.java:
src/vogar/Console.java:
src/vogar/DeviceDalvikVm.java:
src/vogar/Driver.java:
src/vogar/Environment.java:
src/vogar/ExpectationStore.java:
src/vogar/HostMonitor.java:
src/vogar/JtregSpec.java:
src/vogar/Md5Cache.java:
src/vogar/Mode.java:
src/vogar/Vogar.java: push all the use of java.util.logging into Console. This is a step towards fixing issue 7 (because we can now control streaming during a run), and issue 8 (because we now have more intention-revealing verbose output).


git-svn-id: http://vogar.googlecode.com/svn/trunk@22 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
dc58cee06bb827e17ec41a2a1763226301a6edd4 24-Apr-2010 elliott.n.hughes@gmail.com <elliott.n.hughes@gmail.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> src/vogar/Driver.java:
src/vogar/TimeUtilities.java: pull in another salma-hayek class so we can output human-readable durations.


git-svn-id: http://vogar.googlecode.com/svn/trunk@19 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
eaeee9669aea02756899aa7709641dcf69744616 24-Apr-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Fixing caliper support in opensource. We no longer need classpaths for each spec.

git-svn-id: http://vogar.googlecode.com/svn/trunk@6 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java
7850f3f3da0099b76f09ed64d23e0a43ba4a5c76 23-Apr-2010 jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Initial checkin of vogar!


git-svn-id: http://vogar.googlecode.com/svn/trunk@2 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Driver.java