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/Console.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/Console.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/Console.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/Console.java
|
0942355a74d759fb2e50a002b6b0b93430f07d72 |
|
22-Oct-2010 |
bdc@google.com <bdc@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> |
Add ansi option to allow the disabling of terminal position control sequences "ansi" defaults to on as long as the TERM environment variable is not "dumb" Note that "--no-ansi" does not imply "--no-color" since certain terminals that are advertised as dumb may actually support ANSI color sequences, such as Emacs with "(ansi-color-for-comint-mode-on)". git-svn-id: http://vogar.googlecode.com/svn/trunk@187 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Console.java
|
2b3ec15cc85c52d60bebc7587cdb5604cf79cec6 |
|
17-Oct-2010 |
jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> |
Don't leave verbose output in the stream. git-svn-id: http://vogar.googlecode.com/svn/trunk@184 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Console.java
|
72bce7bb658ad68388f7b3adfadaa71979cb88c9 |
|
17-Oct-2010 |
jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> |
Tweak saving the stream mark when writing streamed and verbose output. Previously we were indenting things wrong when multiple verbose lines interrupted streaming output. git-svn-id: http://vogar.googlecode.com/svn/trunk@183 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Console.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/Console.java
|
5b2080e28c579ae6e563143c6a1788846d8da2f1 |
|
17-Oct-2010 |
jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> |
Attempt to improve behavior when vogar is printing both verbose output and streamed output. Previously we were inserting unnecessary line breaks in the streamed output like this: junit.framework.Assert ionFailedError: null at org.json.ParsingTest.assertParsed(ParsingTest.java:207) The problem was that we were inserting a newline before the verbose output, and then deleting the verbose output but not the newline. git-svn-id: http://vogar.googlecode.com/svn/trunk@180 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Console.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/Console.java
|
8a9cc00a0d2c02483690de28eabe2b60b5804538 |
|
03-Aug-2010 |
jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> |
Print native output if --native-output flag is set. This helps with valgrind. Currently no attempt is made to line up native output with non-native output, so a bit of work must be done by the user to figure out which native output corresponds to which non-native output. git-svn-id: http://vogar.googlecode.com/svn/trunk@142 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Console.java
|
dfebab2a6f40fde48ee696eb0be85ef399891924 |
|
30-Jul-2010 |
jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> |
Show 'last run' instead of 'last changed', also store all test run times and corresponding outcome file in a .meta file in each test folder so they can be tracked with more detail. Also update version of Guava. git-svn-id: http://vogar.googlecode.com/svn/trunk@140 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Console.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/Console.java
|
50bd7c43bee5854a7a824265ec224c58c67c698b |
|
01-Jul-2010 |
jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> |
You can now pass in custom ANSI color codes with --pass-color, --fail-color, and --warn-color. git-svn-id: http://vogar.googlecode.com/svn/trunk@119 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Console.java
|
3a4c5dbace966faa26dcbc04e40470efad37ef01 |
|
01-Jul-2010 |
jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> |
A few tiny fixes: - Add missing --tag-dir documention to usage() - Store test history file names in GMT, not the default of PDT - Eliminate false "(you probably broke this)" positives when no test history is found and a test fails. We have no way of knowing, so print "(no test history available)" instead. git-svn-id: http://vogar.googlecode.com/svn/trunk@117 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Console.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/Console.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/Console.java
|
749c981e8ad699c4667e0c949ebbbaf26521e2eb |
|
16-Jun-2010 |
jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> |
Fixing tags. We were emitting status via the console before the console had been initialized. git-svn-id: http://vogar.googlecode.com/svn/trunk@92 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Console.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/Console.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/Console.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/Console.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/Console.java
|
3ad417cb75663abaa5d34573d520a57a42ee68d6 |
|
27-Apr-2010 |
jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> |
Emit the test name before it has any output. Some tests take a long time but don't emit anything; this makes it clear what the system is waiting on. git-svn-id: http://vogar.googlecode.com/svn/trunk@34 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Console.java
|
055ee04b7bb67faefdb04fbf4d300df39b5c96f8 |
|
27-Apr-2010 |
jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> |
Explicitly flushing on action names. git-svn-id: http://vogar.googlecode.com/svn/trunk@32 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Console.java
|
400bee347dd7464ecc17dc24c82f59c59645ff44 |
|
27-Apr-2010 |
jessewilson@google.com <jessewilson@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> |
Changing vogar to accept package names like org.json, which will cause it to run all tests in that package on its classpath. Removing the last traces of java.util.logging. We now have only two granularities: verbose (not kept by default) and info (always kept). Giving up on trying to identify an argument's type by its value. To specify arguments to the target process, list them after the actions with a --. git-svn-id: http://vogar.googlecode.com/svn/trunk@31 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Console.java
|
88b369c017a9eeee0f074ff4be8506b8952c76e0 |
|
25-Apr-2010 |
elliott.n.hughes@gmail.com <elliott.n.hughes@gmail.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> |
src/vogar/Console.java: src/vogar/Vogar.java: make verbose output more intelligent (issue 8). --verbose behaves as before, leaving all verbose output on the screen. But the default is now to show all verbose output anyway, but overwrite each line whenever there's something new to say. So the distinction is now more like verbose/show-progress rather than verbose/silent. git-svn-id: http://vogar.googlecode.com/svn/trunk@23 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Console.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/Console.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/Console.java
|