Commit Graph

44 Commits

Author SHA1 Message Date
kjellander@webrtc.org
a39b323a7e Add tools/sharding_supervisor to .gitignore
I should have thought about this in
http://review.webrtc.org/2314004/

BUG=none
R=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4870 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-27 20:20:47 +00:00
kjellander@webrtc.org
3365422c41 Isolate GYP target and .isolate files for tests
This is a re-land attempt of http://review.webrtc.org/1673004/
It now includes a build/isolate.gypi in WebRTC that includes the same
file as the one that would be included when WebRTC is used in a Chromium
checkout. It is needed since it is not possible to use variables in GYP's
includes sections.

Implemented according to the instructions at
http://www.chromium.org/developers/testing/isolated-testing

Workflow has been like this:
1. create _run GYP target
2. create a stripped down .isolate file
3. export GYP_DEFINES="$GYP_DEFINES test_isolation_mode=check"
4. runhooks
5. compile
6. test if the test would run (i.e. find it's dependencies) without
   actually executing it:
   tools/swarm_client/isolate.py run --isolated out/Release/testname.isolated
7. If failing, run the fix_test_cases.py script like this:
   tools/swarm_client/googletest/fix_test_cases.py --isolated out/Release/testname.isolated

All tests that run on the bots for WebRTC has got _run target
and .isolate file created.

"Normal tests" that run fine on any machine:
* audio_decoder_unittests
* common_audio_unittests
* common_video_unittests
* metrics_unittests
* modules_tests
* modules_unittests
* neteq_unittests
* system_wrappers_unittests
* test_support_unittests
* tools_unittests
* video_engine_core_unittests
* voice_engine_unittests

Tests that requires bare-metal and audio/video devices:
* audio_device_tests
* video_capture_tests

I also added the isolate boilerplate code for the following
tests that are not yet pure gtest binaries (which means they
cannot run isolated yet):
* video_render_tests
* vie_auto_test
* voe_auto_test

TEST=running isolate.py as described above. WebRTC trybots passing. Created a Chromium checkout with third_party/webrtc ToT and this patch applied, passing the runhooks step.
BUG=1916
R=henrike@webrtc.org, tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4590 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-22 07:57:00 +00:00
fischman@webrtc.org
dde7d4c6ed Roll chromium_revision 214260:217707 and gflags 45:84
gflags roll is needed mostly to pick up fixes for warnings triggered by newer
compiler/settings pulled in by the chromium roll.  Had to switch from the old
google-gflags project the current gflags project to pick up this fix (see
https://code.google.com/p/gflags/source/detail?r=74 for details).

Update android build.xml file to reflect tools moves in new SDK pulled in by the chromium_revision roll.

R=niklas.enbom@webrtc.org, wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4555 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-15 23:31:30 +00:00
kjellander@webrtc.org
4298f73031 Revert 4547 "Isolate GYP target and .isolate files for tests"
As this breaks the FYI bots in 
http://build.chromium.org/p/chromium.webrtc.fyi/waterfall
due to different path to isolate.gypi (which cannot easily
be resolved due to limitations in GYP)

> Isolate GYP target and .isolate files for tests
> 
> Implemented according to the instructions at
> http://www.chromium.org/developers/testing/isolated-testing
> 
> Workflow has been like this:
> 1. create _run GYP target
> 2. create a stripped down .isolate file
> 3. export GYP_DEFINES="$GYP_DEFINES test_isolation_mode=check"
> 4. runhooks
> 5. compile
> 6. test if the test would run (i.e. find it's dependencies) without
>    actually executing it:
>    tools/swarm_client/isolate.py run --isolated out/Release/testname.isolated
> 7. If failing, run the fix_test_cases.py script like this:
>    tools/swarm_client/fix_test_cases.py --isolated out/Release/testname.isolated
> 
> All tests that run on the bots for WebRTC has got _run target
> and .isolate file created.
> 
> "Normal tests" that run fine on any machine:
> * audio_decoder_unittests
> * common_audio_unittests
> * common_video_unittests
> * metrics_unittests
> * modules_integrationtests
> * modules_unittests
> * neteq_unittests
> * system_wrappers_unittests
> * test_support_unittests
> * tools_unittests
> * video_engine_core_unittests
> * voice_engine_unittests
> 
> Tests that requires bare-metal and audio/video devices:
> * audio_device_integrationtests
> * video_capture_integrationtests
> 
> I also added the isolate boilerplate code for the following
> tests that are not yet pure gtest binaries (which means they
> cannot run isolated yet):
> * video_render_integrationtests
> * vie_auto_test
> * voe_auto_test
> 
> TEST=running isolate.py as described above.
> BUG=1916
> R=tommi@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/1673004

TBR=kjellander@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4548 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-15 11:29:58 +00:00
kjellander@webrtc.org
d7a4d235d2 Isolate GYP target and .isolate files for tests
Implemented according to the instructions at
http://www.chromium.org/developers/testing/isolated-testing

Workflow has been like this:
1. create _run GYP target
2. create a stripped down .isolate file
3. export GYP_DEFINES="$GYP_DEFINES test_isolation_mode=check"
4. runhooks
5. compile
6. test if the test would run (i.e. find it's dependencies) without
   actually executing it:
   tools/swarm_client/isolate.py run --isolated out/Release/testname.isolated
7. If failing, run the fix_test_cases.py script like this:
   tools/swarm_client/fix_test_cases.py --isolated out/Release/testname.isolated

All tests that run on the bots for WebRTC has got _run target
and .isolate file created.

"Normal tests" that run fine on any machine:
* audio_decoder_unittests
* common_audio_unittests
* common_video_unittests
* metrics_unittests
* modules_integrationtests
* modules_unittests
* neteq_unittests
* system_wrappers_unittests
* test_support_unittests
* tools_unittests
* video_engine_core_unittests
* voice_engine_unittests

Tests that requires bare-metal and audio/video devices:
* audio_device_integrationtests
* video_capture_integrationtests

I also added the isolate boilerplate code for the following
tests that are not yet pure gtest binaries (which means they
cannot run isolated yet):
* video_render_integrationtests
* vie_auto_test
* voe_auto_test

TEST=running isolate.py as described above.
BUG=1916
R=tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4547 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-15 10:02:06 +00:00
fischman@webrtc.org
1bc1954174 AppRTCDemo: builds using ninja on iOS for simulator and device!
Things included in this CL:
- updated READMEs to provide an exact/reproable set of steps for getting the app
  running.
- gyp changes to build the iOS AppRTCDemo sample app using gyp+ninja instead of
  the hand-crafted Xcode project (which has never worked in its checked-in
  form), including a gyp action to sign the sample app for deployment to an iOS
  device (the app can also be used in the simulator)
- deleted the busted hand-crafted Xcode project for the sample app
- updated the sample app to match the PeerConnection API that ended up landing
  (in a surprising twist of fate, the API landed quite a bit later than the
  sample app and this is the first time the CR-time changes in the API are
  reflected in the sample app)
- updated the sample app to reflect apprtc.appspot.com HTML/JS changes (equiv to
  the AppRTCClient.java changes in http://s10/47299162)
- picked up the iossim DEPS to enable launching the sample app in the simulator
  from the command-line.
- renamed some files to match capitalization of the classes they contain (Ice ->
  ICE) per ObjC naming guidelines.
- ran the files involved in this CL through clang-format to deal with xcode
  formatting craxy.

BUG=2106
RISK=P2
TESTED=unittest builds with ninja and passes on OS=mac; sample app builds with ninja and runs on simulator and device, though no audio flows from simulator/device (will fix in a follow-up CL)
R=andrew@webrtc.org, justincohen@google.com, wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4466 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-01 18:29:45 +00:00
fischman@webrtc.org
367f640bea webrtc/.gitignore: add parts of talk/examples/android and third_party/llvm to the list.
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4412 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-26 17:50:10 +00:00
henrike@webrtc.org
8d27a1c723 Makes webrtc and libjingle build from the same gyp-file. Also, the libjingle and webrtc DEPS revisions were mismatching. This cl takes the most recent revision of mismatches. Also disables 64 bit Mac builds for libjingle
BUG=1932
TESTED=git try
R=andrew@webrtc.org, fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4385 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-23 18:15:11 +00:00
henrike@webrtc.org
5c280ecd57 Revert 4382 "Makes webrtc and libjingle build from the same gyp-..."
Failures: breaks build bots. Will have to disable Android NDK build for libjingle. The TSAN issues are in webrtc which should be unaffected. Flakey? Here are the failing tests:
 http://chromegw/i/internal.client.webrtc/builders/Android%20NDK/builds/303 and http://chromegw/i/internal.client.webrtc/builders/Linux%20Tsan/builds/284

> Makes webrtc and libjingle build from the same gyp-file. Also, the libjingle and webrtc DEPS revisions were mismatching. This cl takes the most recent revision of mismatches. Also disables 64 bit Mac builds for libjingle
> 
> BUG=1932
> TESTED=git try
> R=andrew@webrtc.org, fischman@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/1836004

TBR=henrike@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4383 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-23 03:30:32 +00:00
henrike@webrtc.org
5fcddf2334 Makes webrtc and libjingle build from the same gyp-file. Also, the libjingle and webrtc DEPS revisions were mismatching. This cl takes the most recent revision of mismatches. Also disables 64 bit Mac builds for libjingle
BUG=1932
TESTED=git try
R=andrew@webrtc.org, fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4382 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-23 00:27:43 +00:00
henrike@webrtc.org
0df5b8dfa6 Revert 4372 "Makes webrtc and libjingle build from the same gyp-..."
> Makes webrtc and libjingle build from the same gyp-file. Also, the libjingle and webrtc DEPS revisions were mismatching. This cl takes the most recent revision of mismatches.
> 
> TESTED=git try
> BUG=1932
> R=andrew@webrtc.org, fischman@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/1804004

TBR=henrike@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4373 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-18 18:58:29 +00:00
henrike@webrtc.org
4e4bf4db8b Makes webrtc and libjingle build from the same gyp-file. Also, the libjingle and webrtc DEPS revisions were mismatching. This cl takes the most recent revision of mismatches.
TESTED=git try
BUG=1932
R=andrew@webrtc.org, fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4372 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-18 18:33:55 +00:00
solenberg@webrtc.org
892d750ba6 Add *.DS_Store to .gitignore so that ._.DS_Store is ignored too.
BUG=
R=stefan@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4265 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-06-26 08:22:53 +00:00
kjellander@webrtc.org
2d7617afce Add dummy Android test APK to be used for buildbot automation testing.
Until we have WebRTC test targets created for Android, this test
makes it possible to move forward for buildbot automation.

TEST=Android NDK buildbot and local execution of:
source build/android/envsetup.sh
gclient runhooks
ninjar -C out/Debug
verified the out/Debug/simple_apk dir exists and has the files.
BUG=1882
R=henrika@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4245 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-06-19 09:10:49 +00:00
kjellander@webrtc.org
6cfe178af2 Chromium Android tools for test execution.
The md5sum and forwarder2 binaries from Chromium's
src/tools/android are needed to be able to run tests using the
test framework launched by build/android/run_tests.py.
Since they depend on Chromium's base, we're using a precompiled
copy for WebRTC's purposes.

Linux works out of the box if Chromium's Android build instructions
at https://code.google.com/p/chromium/wiki/AndroidBuildInstructions
are used. Mac runs into problems earlier in the build toolchain,
but as Mac is not a supported Android development platform in Chrome,
the files will have to be copied manually on that platform for now.

TEST=Synced, built and ran a test APK using run_tests.py.
BUG=1882
R=andrew@webrtc.org, henrike@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4241 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-06-18 07:14:33 +00:00
andrew@webrtc.org
6155be2c61 Add /tools/protoc_wrappers to .gitignore.
TBR=pbos

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3985 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-08 18:51:07 +00:00
kjellander@webrtc.org
10eb92039b Add GYP target for WebRTC Video demo for Android.
Add a build target for the Video demo app for Android that only
exists when OS=='android' during build.

Note that this doesn't solve webrtc:1029, it's more like a workaround
waiting for the complete solution, which is to great a proper GYP target
that doesn't involve an action and an external script.

BUG=1029
TEST=Built successfully with:
source build/android/envsetup.sh
gclient runhooks
ninja -C out/Debug
Also verified the target is not present when OS is not 'android'.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3769 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-05 13:36:32 +00:00
pbos@webrtc.org
71335ce120 Have git ignore ".swp" files.
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3678 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-03-18 15:21:51 +00:00
kjellander@webrtc.org
18a21a03c6 Android NDK build tools
This CL enables building with Android NDK in the way that Chromium buildbots do it.

== Overview ==
* Add Android dependencies to DEPS (SDK, NDK, Android test runner). This also makes it possible to use Android's build/android/run_tests.py script to execute tests on Android devices.
* Add a Python script to build the WebRTC Video demo for Android using ndk-build and Ant. This is designed as an annotation script for Buildbots but is also fine to run locally.
* Update Android.mk so it works with the compiler output from a build performed by build/android/buildbot/bb_run_bot.py (which is how Chrome buildbots build).

== Syncing Android dependencies ==
To get the dependencies added in DEPS synced out, you must change the last line
of your .gclient file to look like this:
];target_os = ["android"]

That will append another variable to the .gclient file that causes these
dependencies to be synced during gclient sync.
If you want to get additional platform-specific dependencies in the same
checkout, add them to the list too, e.g. target_os = ["android", "unix"].

== Android.mk ==
The fix in Android.mk is needed since Chrome is building using build/android/buildbot/bb_run_bot.py, which only output the libraries into out/Debug. With the change it works for both that and a normal build (which copies the library files from out/Debug/obj.target/subpath to out/Debug anyway as a part of the build).

== svn:ignore ==
NOTICE: Before submitting, the following directories should be added to svn:ignore in third_party to avoid them from being removed and re-synced for every build:
* android_testrunner
* android_tools
* WebKit
This has to be done in a manual SVN commit since it's not possible to include in a git-svn CL (and I don't want to migrate this to a SVN CL).

BUG=none
TEST=local builds

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3497 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-02-11 17:43:19 +00:00
kjellander@webrtc.org
fa53d8717c Fixing/disabling Windows x64 warnings
Disabled MSVC #4267 warnings in common.gypi to enable x64 builds
for Windows.
Fixed MSVC #4267 warnings in test/testsupport.
Added third_party/directxsdk to .gitignore.

With http://review.webrtc.org/1070008 landed, this should make it possible
to build for x64 on Windows.

BUG=1348
TEST=Compiling with http://review.webrtc.org/1070008 applied:
set GYP_DEFINES="target_arch=x64"
set GYP_GENERATORS=ninja
gclient sync
ninja -C out\Debug_x64

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3464 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-02-04 10:07:17 +00:00
andrew@webrtc.org
6e76ef430d Add third_party/winsdk_samples/src to gitignore.
TBR=kjellander@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/929026

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3149 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-21 23:28:40 +00:00
kjellander@webrtc.org
8d0cef3bd2 Updating opus in .gitignore
BUG=none
TEST=git status in a git-svn checkout.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3051 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-07 08:22:10 +00:00
andrew@webrtc.org
d02f0baf5a gitignore third_party/opus/source
TBR=tina.legrand@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2964 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-22 20:32:49 +00:00
andrew@webrtc.org
14b43beb7c Move src/ -> webrtc/
TBR=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2963 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-22 18:19:23 +00:00
andrew@webrtc.org
597f6f2e10 Add proto.xml to .gitignore (and alphabetize).
TBR=henrika@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2922 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-12 15:52:14 +00:00
kjellander@webrtc.org
0d7eaaa166 Ignoring Android NDK build output
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2833 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-27 14:14:53 +00:00
andrew@webrtc.org
fe117388ff gitignore google_apis/build more exclusively.
TBR=kjellander

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2793 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-20 07:02:14 +00:00
andrew@webrtc.org
b9d2064f6e Roll Chromium 152335:157509, and add google_apis/build.
- gitignore google_apis.
- Disable 4005 warning in gflags.gyp.

TBR=niklas.enbom, kjellander
TESTED=trybots

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2792 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-19 23:08:50 +00:00
andrew@webrtc.org
340f0cd5b7 Add *.host.mk to .gitignore.
TBR=kjellander@webrtc.org
BUG=none

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2588 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-10 02:17:41 +00:00
andrew@webrtc.org
6241beefa2 Refer to Chrome's DEPS to make rolling easier.
- Sync Chrome's DEPS to chromium_deps/, and use the From() keyword
  to pull the correct revisions from it, rather than having to manually
  enter them.
- This idea is borrowed from the WebKit DEPS:
http://trac.webkit.org/browser/trunk/Source/WebKit/chromium/DEPS
- Fix update.py's DEPS parsing to handle From().
- Roll Chrome 120526:122775.
- Organize the deps alphabetically.
- Sync the in-tree gold linker, which is now required due to a change
  in the linker flags.
- Add the new deps to .gitignore.

BUG=
TEST=build on all platforms

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1755 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-23 21:32:37 +00:00
phoglund@webrtc.org
86ce46d4ff Cleaned up and completed current dashboard milestone.
Left to do:
- Directory reorganization.

BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1605 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-06 10:55:12 +00:00
phoglund@webrtc.org
96c39d1f73 Completed implementation of oauth in coverage scripts.
The access token is now transferred between the request and track scripts.

Almost completed the implementation, using oauth2.

Initial, incomplete implementation of the permission-request script.

The coverage tracking is broken temporarily, but it can now make OAuth requests.

BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1530 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-24 14:44:51 +00:00
phoglund@webrtc.org
bd88f39767 Initial version of code coverage tracker / dashboard for WebRTC.
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1440 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-17 12:21:15 +00:00
andrew@webrtc.org
681172ef1e Add libsrtp to .gitignore.
TBR=mallinath@webrtc.org

Review URL: http://webrtc-codereview.appspot.com/349004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1379 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-11 01:54:55 +00:00
kjellander@webrtc.org
b5b155b8a9 This CL introduces a new directory for WebRTC utility scripts for Valgrind: tools/valgrind-webrtc
To be able to re-use as much as possible from Chromium's scripts, I've created two customized scripts for running tests:
- webrtc_tests.py: a customized version of chrome_tests.py with WebRTC tests instead.
- webrtc_tests.sh: a customized version of the chrome_tests.sh wrapper script, to launch the above script.

The webrtc_tests.sh script is setting up PYTHONPATH so that tools/valgrind is available for the webrtc_tests.py script.
The webrtc_tests.py script inherits the chrome_tests.py script as much as possible, to minimize maintenance and maximize readability.
Having this mirrored setup of directories, allows us to use the same directory hierarchy for suppression files too. This CL only adds suppression files for memcheck, but we can add files for tsan later easily.

The suppression file is currently empty for Linux. For Mac I copied all the Chromium third-party suppressions. We will need a lot more added for Mac before Valgrind runs becomes usable for that platform.
The platform specific naming of the suppression files are handled automatically when webrtc_tests.sh  is used to launch the tests.

Example:
Plain memcheck (default tool): tools/valgrind-webrtc/webrtc_tests.sh -t system_wrappers
Run ThreadSanitizer: tools/valgrind-webrtc/webrtc_tests.sh  --tool=tsan -t system_wrappers

Previously mentioned AddressSanitizer requires additional scripts to be added and it not covered in this CL.

BUG=
TEST=

Review URL: http://webrtc-codereview.appspot.com/322010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1240 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-12-20 08:53:41 +00:00
andrew@webrtc.org
a98124542a Add third_party/libyuv to .gitignore.
Review URL: http://webrtc-codereview.appspot.com/290010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1065 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-11-30 18:03:35 +00:00
kjellander@webrtc.org
ae5cb5b2e6 Adding valgrind to .gitignore
Review URL: http://webrtc-codereview.appspot.com/289005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1032 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-11-25 14:19:40 +00:00
andrew@webrtc.org
2740f66d22 Remove output files from .gitignore.
Review URL: http://webrtc-codereview.appspot.com/292003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1017 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-11-24 17:49:17 +00:00
kjellander@webrtc.org
0c80c7fec8 Script for automatic download of resources.
Tested successfully on Linux, Mac and Windows (Python 2.6)

The script works executing from different working directories too (like project root vs. location of script).

Review URL: http://webrtc-codereview.appspot.com/280002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1003 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-11-23 14:11:16 +00:00
kjellander@webrtc.org
1310e0b092 Adding third_party/cygwin to git ignore
Review URL: http://webrtc-codereview.appspot.com/280003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@963 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-11-17 11:35:59 +00:00
phoglund@webrtc.org
8f89f09626 Note: this patch may seem intimidating but it mostly moves code around and renames things. There are quite few actual changes.
Separated new-style tests from old-style tests. Abstracted code for reuse.

Fully separated the new automated tests from the old-style tests. We now have old-style tests running in manual mode, old-style tests running in automated mode and new-style tests that uses input files and make actual video comparisons.

Introduced a small "library" of helper functions in order to move a lot
of stuff out of the original base and codec tests, which have been made
dependent on the new "library" (which is a header file and a source
file). The new-style tests also depends on this "library".
The comparison test flags are now required only when the comparison tests actually runs.

Separated comparison tests into its own test since it seems we will be running classic vie_auto_test using a fake video driver on Linux.

Made tbInterfaces follow Google conventions.
Merge branch 'render_to_file' into vivi_driver

Resolution alignment testing is now optional behind a flag.

BUG=
TEST=

Review URL: http://webrtc-codereview.appspot.com/269011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@962 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-11-17 10:46:59 +00:00
kjellander@webrtc.org
aedf3a765c Loosening makefile rule so it matches *.target.mk but not Android.mk files.
Add ignore of Python project files.

Review URL: http://webrtc-codereview.appspot.com/270010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@944 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-11-15 08:53:12 +00:00
andrew@webrtc.org
e2d2801e0d Update .gitignore.
Review URL: http://webrtc-codereview.appspot.com/266001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@886 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-11-04 01:24:01 +00:00
kjellander@webrtc.org
dca57bddf8 Adding git ignore file.
BUG=
TEST=

Review URL: http://webrtc-codereview.appspot.com/173001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@638 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-09-23 11:15:35 +00:00