diff --git a/video_engine/main/test/AutoTest/interface/vie_autotest_defines.h b/video_engine/main/test/AutoTest/interface/vie_autotest_defines.h index b8ff7eae92..9da6cf299c 100644 --- a/video_engine/main/test/AutoTest/interface/vie_autotest_defines.h +++ b/video_engine/main/test/AutoTest/interface/vie_autotest_defines.h @@ -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 diff --git a/video_engine/main/test/AutoTest/vie_auto_test.gypi b/video_engine/main/test/AutoTest/vie_auto_test.gypi index 16f94c1d64..a256606050 100644 --- a/video_engine/main/test/AutoTest/vie_auto_test.gypi +++ b/video_engine/main/test/AutoTest/vie_auto_test.gypi @@ -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', ], }, ],