ViE autotest changes for copying the media files used when testing.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@29 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mflodman@google.com 2011-06-01 10:34:43 +00:00
parent 607f534f65
commit 1eb14864ef
2 changed files with 8 additions and 20 deletions

View File

@ -238,7 +238,7 @@ namespace
#ifdef ANDROID
#define VIE_TEST_FILES_ROOT "/sdcard/vie_auto_test/"
#else
#define VIE_TEST_FILES_ROOT "/tmp/vie_auto_test/"
#define VIE_TEST_FILES_ROOT "/tmp/"
#endif
namespace

View File

@ -131,42 +131,30 @@
'media',
],
'outputs': [
'media_files_in_tmp',
'/tmp/*.jpg',
'/tmp/*.bmp',
],
'action': [
'/bin/sh', '-c',
'mkdir -p /tmp/vie_auto_test; cp -f video_engine/main/test/AutoTest/media/* /tmp/vie_auto_test'
'cp -f video_engine/main/test/AutoTest/media/* /tmp/',
],
},
],
}],
['OS=="win"', {
'actions': [
{
'action_name': 'create vie test folder',
'inputs': [
'media',
],
'outputs': [
'tmp/vie_auto_test/',
],
'action': [
'cmd', '/c',
'mkdir \\tmp\\vie_auto_test'
],
},
{
{
'action_name': 'copy media files',
'inputs': [
'media',
],
'outputs': [
'\\tmp\\vie_auto_test\\*.jpg',
'\\tmp\\vie_auto_test\\*.yuv',
'\\tmp\\*.jpg',
'\\tmp\\*.bmp',
],
'action': [
'cmd', '/c',
'xcopy /Y /R video_engine\\main\\test\\AutoTest\\media\\* \\tmp\\vie_auto_test'
'xcopy /Y /R video_engine\\main\\test\\AutoTest\\media\\* \\tmp',
],
},
],