Commit Graph

34 Commits

Author SHA1 Message Date
Nicolas "Pixel" Noble 5937b5bc5a Exporting XML reports, JUnit-compatible. 2015-06-26 03:32:16 +02:00
Craig Tiller 74e770d5e8 Speed up hash checks, crash on first TSAN error 2015-06-11 09:40:14 -07:00
David Garcia Quintas 79e389f431 Improvements to the way we randomize test runs. 2015-06-02 17:51:38 -07:00
David Garcia Quintas 583b9a689a Addressed comments: fixed memory leak introduced by changes. 2015-06-01 12:33:12 -07:00
David Garcia Quintas e90cd37a1d Added "inf" as a valid option to run_test.py's -n flag.
Especially useful in combination with -f.
2015-05-31 19:05:48 -07:00
Craig Tiller 533b1a22b4 Add fast stop
Allows run_tests to early out as soon as a test fails.
Plays well with -f.
2015-05-29 08:45:55 -07:00
Craig Tiller d0ffe14317 Include pid in failures 2015-05-19 21:51:13 -07:00
Nicolas "Pixel" Noble 99768acc51 Prevents run_tests from spamming. 2015-05-13 02:36:37 +02:00
Craig Tiller 8421678ed0 Make runtests print logs on timed out tests 2015-05-12 09:45:06 -07:00
Jan Tattermusch e82435922d fixes to run_tests.py to at least start building tests on Windows 2015-04-20 19:20:43 -07:00
Craig Tiller d5cc8aca76 Spam cleanup 2015-04-08 11:55:26 -07:00
Craig Tiller 5058c69209 Initial porting of run_tests to Windows 2015-04-08 09:42:04 -07:00
David Klempner 559543ec0d Unconditionally add a newline if a test times out or fails.
Failure should generally result in output unless something goes wrong,
but timeout currently doesn't, but should be printed 100% of the time.
2015-03-17 20:27:48 -07:00
murgatroid99 132ce6a232 Added CONFIG environment variable to build and test scripts, fixed some bugs 2015-03-04 17:29:14 -08:00
Craig Tiller e1d0d1c549 Make timeout red 2015-02-27 08:54:23 -08:00
Craig Tiller 9b3cc7461a Force-kill long running processes
To get at least some information on them
2015-02-26 22:26:39 -08:00
Craig Tiller 904da8cab6 Fix sorting 2015-02-26 15:59:15 -08:00
Craig Tiller b84728d6dd Better logging for Travis 2015-02-26 15:40:39 -08:00
Craig Tiller 9d6139a6f6 Add timer to run_tests.py
For future profiling work to eliminate/speed-up slow tests.
2015-02-26 15:24:43 -08:00
Nicolas "Pixel" Noble a7df3f9e2c Improving travis output. 2015-02-26 22:48:30 +01:00
Craig Tiller 23d2f3f2b1 Support writes failing 2015-02-24 15:23:32 -08:00
Craig Tiller 336ad50973 Use signals instead of sleep to wait for jobs 2015-02-24 14:57:20 -08:00
Craig Tiller c2c792113e Add copyrights to Python code 2015-02-16 12:00:01 -08:00
Craig Tiller 547db2b3ef Allow specifying environment variables.
Refactor the code a little to make this easier to munge around.
2015-01-30 14:08:39 -08:00
Craig Tiller 6f5e2c42f9 Surface failure count 2015-01-21 18:05:31 -08:00
Craig Tiller 71735185a1 Cache for successful test runs
By default don't re-run tests that have already run successfully, to
reduce latency between making a change and seeing if it fixed the last
thing that you were trying to fix.
2015-01-15 17:12:04 -08:00
Nicolas Noble b09078f202 Addressing pull request comments.
-) Fixing long line length.
 -) Changed the logic of the exit message.
2015-01-14 18:14:54 -08:00
Nicolas Noble 044db7422a Various cosmetic improvements to run_tests.py
-) Adding a new command line flag to be able to see which tests are passing.
  -) Adding more status when the tool is idle in forever mode.
  -) Adding a last status when the tool is finished so to avoid leaving the console in a weird state.
  -) Adding a status message in the forever mode if the previous run failed.
  -) Swapped the message and its explanation, so you don't have to scroll up to see which test failed.
  -) Fixed a race condition in the watch_dir.py code if a file is deleted during the loop.
2015-01-14 17:28:12 -08:00
Craig Tiller 225d31fd40 Merge github.com:google/grpc 2015-01-12 14:33:47 -08:00
Craig Tiller 738c334432 Allow running tests under valgrind 2015-01-12 14:28:33 -08:00
Craig Tiller 3b08306c13 Cleanup and fixes to jobset.py 2015-01-12 13:51:28 -08:00
ctiller 94e5ddece6 Only run one make at a time.
If openssl has not been built, running parallel make processes causes some problems.
	Change on 2015/01/09 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83617340
2015-01-09 17:57:57 -08:00
ctiller 3040cb7c43 Add a --forever flag, to continuously run tests as things change.
Change on 2015/01/07 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83451760
2015-01-08 12:48:26 -08:00
Nicolas Noble ddef24620a Adding the tools directory to the git export. 2015-01-06 18:08:25 -08:00