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 #ifdef ANDROID
#define VIE_TEST_FILES_ROOT "/sdcard/vie_auto_test/" #define VIE_TEST_FILES_ROOT "/sdcard/vie_auto_test/"
#else #else
#define VIE_TEST_FILES_ROOT "/tmp/vie_auto_test/" #define VIE_TEST_FILES_ROOT "/tmp/"
#endif #endif
namespace namespace

View file

@ -131,42 +131,30 @@
'media', 'media',
], ],
'outputs': [ 'outputs': [
'media_files_in_tmp', '/tmp/*.jpg',
'/tmp/*.bmp',
], ],
'action': [ 'action': [
'/bin/sh', '-c', '/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"', { ['OS=="win"', {
'actions': [ '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', 'action_name': 'copy media files',
'inputs': [ 'inputs': [
'media', 'media',
], ],
'outputs': [ 'outputs': [
'\\tmp\\vie_auto_test\\*.jpg', '\\tmp\\*.jpg',
'\\tmp\\vie_auto_test\\*.yuv', '\\tmp\\*.bmp',
], ],
'action': [ 'action': [
'cmd', '/c', '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',
], ],
}, },
], ],