Commit Graph

17 Commits

Author SHA1 Message Date
ab102f1632 Update gtest-parallel and introduce gtest-parallel-wrapper.
Now gtest-parallel is the same as in the github repo.
A wrapper script was created to handle the environment variables.

TBR=pbos@webrtc.org
BUG=chromium:497757
NOTRY=True

Review-Url: https://codereview.webrtc.org/2513073002
Cr-Commit-Position: refs/heads/master@{#15170}
2016-11-21 16:01:14 +00:00
aee0b5d317 Fixed a bug where only the tests in the first shard were run.
This is because:
1) The environment variables were still around when the test was executed.
2) gtest-parallel executes only one test at a time.

So when the test was invoked from a shard different than the 0th one, for example as:
./something_unittests --gtest_filter=Test.Name
It read the environment variables, and the environment variables together with the gtest_filter flag, told it that there were several shards, but only one test to be run, so if it wasn't the 0th shard, it wouldn't run the test at all.

This is fixed by erasing the environment variables once read.

Also change swarming-related flag names to fit the rest of the flags and validate their values.

NOTRY=True
BUG=chromium:497757, chromium:664425
TBR=pbos@webrtc.org, kjellander@webrtc.org

Review-Url: https://codereview.webrtc.org/2505093003
Cr-Commit-Position: refs/heads/master@{#15110}
2016-11-17 00:48:17 +00:00
b2fcf6d96f MB: Run test with gtest-parallel on swarming.
TBR=pbos@webrtc.org
BUG=chromium:497757, chromium:664425
NOTRY=True

Review-Url: https://codereview.webrtc.org/2503503002
Cr-Commit-Position: refs/heads/master@{#15093}
2016-11-15 20:20:35 +00:00
df47312fad Roll gtest-parallel.
BUG=
R=stefan@webrtc.org

Review URL: https://codereview.webrtc.org/2208023002 .

Cr-Commit-Position: refs/heads/master@{#13627}
2016-08-03 17:11:35 +00:00
7b36ac446a Pull in new commits from the gtest-parallel upstream repo
22c71034 Add flag for running only failed and new tests
2f5c75fd Fix support for TYPED_TEST_CASEs.

Review-Url: https://codereview.webrtc.org/2025293002
Cr-Commit-Position: refs/heads/master@{#12994}
2016-06-01 16:16:46 +00:00
6d3f11c366 Roll gtest-parallel.
Brings in fix that prevents disabled parameterized tests from running by
default.

BUG=webrtc:5280
TBR=kjellander@webrtc.org

Review URL: https://codereview.webrtc.org/1548373002

Cr-Commit-Position: refs/heads/master@{#11132}
2015-12-28 21:11:09 +00:00
a0b9549b88 Roll gtest-parallel.
BUG=
R=kwiberg@webrtc.org

Review URL: https://codereview.webrtc.org/1534773002

Cr-Commit-Position: refs/heads/master@{#11070}
2015-12-17 15:15:41 +00:00
2f29d70184 Roll gtest-parallel.
BUG=
R=kwiberg@webrtc.org

Review URL: https://codereview.webrtc.org/1526383002

Cr-Commit-Position: refs/heads/master@{#11055}
2015-12-16 18:39:10 +00:00
be26c07cb5 Roll gtest-parallel.
BUG=
R=kwiberg@webrtc.org

Review URL: https://codereview.webrtc.org/1519153002

Cr-Commit-Position: refs/heads/master@{#10997}
2015-12-12 09:45:28 +00:00
cf890bc58e Roll gtest-parallel.
Brings in fixes that save log output to disk instead of piping them
through Python. Should fix problem where output from tests stall for
more than 10 seconds.

Also enabling JsepPeerConnectionP2PTestClient on all platforms again.

BUG=webrtc:5231
R=kjellander@webrtc.org

Review URL: https://codereview.webrtc.org/1509463002 .

Cr-Commit-Position: refs/heads/master@{#10917}
2015-12-07 15:45:08 +00:00
280ed11493 Roll gtest-parallel.
Includes modifications by kwiberg@ to reduce line spam by not printing
all passing tests and running previously-failing tests first.

BUG=
R=kwiberg@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/47279004

Cr-Commit-Position: refs/heads/master@{#9248}
2015-05-21 11:25:15 +00:00
02c9b36733 Roll gtest-parallel.
Includes modification by kwiberg@ for starting slowest tests first,
reducing total runtime without increasing workers.

BUG=
R=kwiberg@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/46339004

Cr-Commit-Position: refs/heads/master@{#9207}
2015-05-18 13:18:09 +00:00
8786f637b2 Roll gtest-parallel.
Rolls to 48e584a52bb9db1d1c915ea33463e9e4e1b36d1b which includes fix for
running TEST_P functions.

BUG=
R=stefan@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/50819004

Cr-Commit-Position: refs/heads/master@{#9102}
2015-04-28 13:43:45 +00:00
4b9622fb1e Roll gtest-parallel.
Brings in a patch that reports the exit code for a failing test.

Also adding myself to new OWNERS file under gtest-parallel.

BUG=4234
R=kjellander@webrtc.org, mflodman@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/34119004

Cr-Commit-Position: refs/heads/master@{#8250}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8250 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-02-05 12:37:42 +00:00
1777880f54 Roll gtest-parallel.
Includes a method for setting additional arguments to binaries.

BUG=4142
R=kjellander@webrtc.org
TBR=andrew@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/32969004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@8009 4adac7df-926f-26a2-2b94-8c16560cd09d
2015-01-07 11:03:19 +00:00
0fa04755af Roll gtest-parallel.
Brings in change that eliminates Queues which shows significant speed
improvement for huge work lists.

R=andrew@webrtc.org
BUG=

Review URL: https://webrtc-codereview.appspot.com/26409004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7132 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-10 09:29:12 +00:00
bc524ae41a Added mirror of gtest-parallel.
gtest-parallel is a Python script that runs gtest binaries in parallel.

R=andrew@webrtc.org, kjellander@webrtc.org, mflodman@webrtc.org
BUG=

Review URL: https://webrtc-codereview.appspot.com/11309004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6227 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-23 09:37:29 +00:00