History log of /external/vogar/src/vogar/Md5Cache.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dbe39a9c477cb5df1ebc6dd14ceadd3b9d32f48b 31-Mar-2016 Kenny Root <kroot@google.com> Avoid making long filesystem keys

Concatenating several hashes together can make a really long filename,
so instead simply hash all the items together (after all a hash function
is a compression function) without fear of collision.

Change-Id: I9221d20fe835cc1b50e82cd302c41ba48258750a
/external/vogar/src/vogar/Md5Cache.java
963abb73aba37a071cd914516e056ae89d343426 03-Mar-2016 Neil Fuller <nfuller@google.com> Add caching for Jack artifacts

Unfortunately, the .jack format is not "stable", meaning that
two .jack files produced from the source will vary and will be
cached unnecessarily (bug 27470894) leading to repeated jack
execution. Invoking jack on a prebuilt .jar file works better.

Bug: 26814204
(cherry picked from commit 8a0258e80032761f708d96d9f98fe57fa8774f3c)

Change-Id: Icc015f4e0ba7c4becd3c24c2d1fd2f13a777484b
/external/vogar/src/vogar/Md5Cache.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/Md5Cache.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/Md5Cache.java
2c67cf17be7262353493480d98fb88ad0f8fc320 01-Jun-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Address comments on r80. Fix up the fileCache API to be a bit nicer. Avoid delegating fallbackCommand responsibility to the cache itself since this is brittle (for example a future use may want two Commands, or may do something else entirely).

git-svn-id: http://vogar.googlecode.com/svn/trunk@82 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Md5Cache.java
41a680807eb80e63fbfe42c218c9e1da6615d867 27-May-2010 jsharpe@google.com <jsharpe@google.com@aa685c63-decc-881d-cd2b-7fa72aad72e1> Add --device-cache option. This only affects device mode, but keeps a cache of adb pushed file on the device's sd card so we don't have to push them all the time. Doing some simple benchmarks it improves test running time by a few seconds in some common cases, but the larger goal is to have a large set of default classpaths be possible.

This doesn't currently cache directories (which would be nice for jtreg tests), but it could easily be extended.

I also added a simple mkdir cache, that simply ensures we don't try to "adb mkdir" the same directory more than once in a single vogar run. This was happening quite a bit before.

Also fix detection of jtreg tests. Previously used pattern "@test", but this was falsely catching "@tests BLAH" in junit tests. Changed to "\W@test\W".

git-svn-id: http://vogar.googlecode.com/svn/trunk@80 aa685c63-decc-881d-cd2b-7fa72aad72e1
/external/vogar/src/vogar/Md5Cache.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/Md5Cache.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/Md5Cache.java