| Index: scripts/slave/recipes/libvpx/android_unittests.expected/basic_linux_64.json
|
| diff --git a/scripts/slave/recipes/libvpx/android_unittests.expected/basic_linux_64.json b/scripts/slave/recipes/libvpx/android_unittests.expected/basic_linux_64.json
|
| index 10379fe7827451cf4268adc690a688772dbd966d..c767621a8c8f5181082ea2c03ef4fde2634c84f3 100644
|
| --- a/scripts/slave/recipes/libvpx/android_unittests.expected/basic_linux_64.json
|
| +++ b/scripts/slave/recipes/libvpx/android_unittests.expected/basic_linux_64.json
|
| @@ -4,12 +4,11 @@
|
| "python",
|
| "-u",
|
| "\nimport os, sys, shutil\nroot = sys.argv[1]\nnuke_dirs = sys.argv[2:]\nfor fname in os.listdir(root):\n path = os.path.join(root, fname)\n if os.path.isfile(path):\n os.unlink(path)\n elif fname in nuke_dirs:\n shutil.rmtree(path)\n",
|
| - "[SLAVE_BUILD]",
|
| + "[CWD]",
|
| "libs",
|
| "obj",
|
| "armeabi-v7a"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "clean_build",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -31,11 +30,10 @@
|
| "-u",
|
| "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
|
| "--path",
|
| - "[SLAVE_BUILD]/android_tools",
|
| + "[CWD]/android_tools",
|
| "--url",
|
| "https://chromium.googlesource.com/android_tools"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "git setup"
|
| },
|
| {
|
| @@ -47,7 +45,7 @@
|
| "master",
|
| "--recurse-submodules"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/android_tools",
|
| + "cwd": "[CWD]/android_tools",
|
| "name": "git fetch"
|
| },
|
| {
|
| @@ -57,7 +55,7 @@
|
| "-f",
|
| "FETCH_HEAD"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/android_tools",
|
| + "cwd": "[CWD]/android_tools",
|
| "name": "git checkout"
|
| },
|
| {
|
| @@ -66,7 +64,7 @@
|
| "rev-parse",
|
| "HEAD"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/android_tools",
|
| + "cwd": "[CWD]/android_tools",
|
| "name": "read revision",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -81,7 +79,7 @@
|
| "-d",
|
| "-x"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/android_tools",
|
| + "cwd": "[CWD]/android_tools",
|
| "name": "git clean"
|
| },
|
| {
|
| @@ -90,7 +88,7 @@
|
| "submodule",
|
| "sync"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/android_tools",
|
| + "cwd": "[CWD]/android_tools",
|
| "name": "submodule sync"
|
| },
|
| {
|
| @@ -101,7 +99,7 @@
|
| "--init",
|
| "--recursive"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/android_tools",
|
| + "cwd": "[CWD]/android_tools",
|
| "name": "submodule update"
|
| },
|
| {
|
| @@ -110,11 +108,10 @@
|
| "-u",
|
| "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
|
| "--path",
|
| - "[SLAVE_BUILD]/libvpx",
|
| + "[CWD]/libvpx",
|
| "--url",
|
| "https://chromium.googlesource.com/webm/libvpx"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "git setup (2)"
|
| },
|
| {
|
| @@ -126,7 +123,7 @@
|
| "master",
|
| "--recurse-submodules"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/libvpx",
|
| + "cwd": "[CWD]/libvpx",
|
| "name": "git fetch (2)"
|
| },
|
| {
|
| @@ -136,7 +133,7 @@
|
| "-f",
|
| "FETCH_HEAD"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/libvpx",
|
| + "cwd": "[CWD]/libvpx",
|
| "name": "git checkout (2)"
|
| },
|
| {
|
| @@ -145,7 +142,7 @@
|
| "rev-parse",
|
| "HEAD"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/libvpx",
|
| + "cwd": "[CWD]/libvpx",
|
| "name": "read revision (2)",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -160,7 +157,7 @@
|
| "-d",
|
| "-x"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/libvpx",
|
| + "cwd": "[CWD]/libvpx",
|
| "name": "git clean (2)"
|
| },
|
| {
|
| @@ -169,7 +166,7 @@
|
| "submodule",
|
| "sync"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/libvpx",
|
| + "cwd": "[CWD]/libvpx",
|
| "name": "submodule sync (2)"
|
| },
|
| {
|
| @@ -180,7 +177,7 @@
|
| "--init",
|
| "--recursive"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/libvpx",
|
| + "cwd": "[CWD]/libvpx",
|
| "name": "submodule update (2)"
|
| },
|
| {
|
| @@ -188,7 +185,7 @@
|
| "git",
|
| "number"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/libvpx",
|
| + "cwd": "[CWD]/libvpx",
|
| "name": "git number",
|
| "stdout": "/path/to/tmp/"
|
| },
|
| @@ -208,24 +205,22 @@
|
| "--enable-vp9-decoder",
|
| "--enable-encode-perf-tests",
|
| "--disable-realtime-only",
|
| - "--sdk-path=[SLAVE_BUILD]/android_tools/ndk",
|
| + "--sdk-path=[CWD]/android_tools/ndk",
|
| "--target=armv7-android-gcc"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "configure"
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]/android_tools/ndk/ndk-build",
|
| - "APP_BUILD_SCRIPT=[SLAVE_BUILD]/libvpx/test/android/Android.mk",
|
| + "[CWD]/android_tools/ndk/ndk-build",
|
| + "APP_BUILD_SCRIPT=[CWD]/libvpx/test/android/Android.mk",
|
| "APP_ABI=armeabi-v7a",
|
| "APP_PLATFORM=android-14",
|
| "APP_OPTIM=release",
|
| "APP_STL=gnustl_static"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "env": {
|
| - "NDK_PROJECT_PATH": "[SLAVE_BUILD]"
|
| + "NDK_PROJECT_PATH": "[CWD]"
|
| },
|
| "name": "ndk-build"
|
| },
|
| @@ -233,37 +228,34 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[SLAVE_BUILD]/libvpx/test/android/get_files.py",
|
| + "[CWD]/libvpx/test/android/get_files.py",
|
| "-i",
|
| - "[SLAVE_BUILD]/libvpx/test/test-data.sha1",
|
| + "[CWD]/libvpx/test/test-data.sha1",
|
| "-o",
|
| - "[SLAVE_BUILD]/test_data",
|
| + "[CWD]/test_data",
|
| "-u",
|
| "http://downloads.webmproject.org/test_data/libvpx"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "get_files"
|
| },
|
| {
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[BUILD]/scripts/slave/android/transfer_files.py",
|
| - "[SLAVE_BUILD]/android_tools/sdk/platform-tools/adb",
|
| + "[ROOT]/b/build/scripts/slave/android/transfer_files.py",
|
| + "[CWD]/android_tools/sdk/platform-tools/adb",
|
| "/data/local/tmp",
|
| - "[SLAVE_BUILD]/test_data"
|
| + "[CWD]/test_data"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "transfer_files"
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]/android_tools/sdk/platform-tools/adb",
|
| + "[CWD]/android_tools/sdk/platform-tools/adb",
|
| "push",
|
| - "[SLAVE_BUILD]/libs/armeabi-v7a",
|
| + "[CWD]/libs/armeabi-v7a",
|
| "/data/local/tmp"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "push_so"
|
| },
|
| {
|
| @@ -272,14 +264,13 @@
|
| "-u",
|
| "\nimport sys, subprocess, time\nout = open(sys.argv[1], \"w\")\np = subprocess.Popen(sys.argv[2:], stdout=out)\nwhile p.poll() is None:\n print \"Still working\"\n time.sleep(60)\nprint \"done\"\nsys.exit(p.returncode)\n",
|
| "/path/to/tmp/",
|
| - "[SLAVE_BUILD]/android_tools/sdk/platform-tools/adb",
|
| + "[CWD]/android_tools/sdk/platform-tools/adb",
|
| "shell",
|
| "LD_LIBRARY_PATH=/data/local/tmp",
|
| "LIBVPX_TEST_DATA_PATH=/data/local/tmp",
|
| "/data/local/tmp/vpx_test",
|
| "--gtest_filter=-*Large*"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "adb_wrap",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -298,11 +289,10 @@
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[SLAVE_BUILD]/libvpx/test/android/scrape_gtest_log.py",
|
| + "[CWD]/libvpx/test/android/scrape_gtest_log.py",
|
| "--output-json",
|
| "/path/to/tmp/json"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "scrape_logs",
|
| "stdin": "This is text with json inside normally",
|
| "~followup_annotations": [
|
| @@ -337,7 +327,6 @@
|
| "-u",
|
| "RECIPE_MODULE[build::perf_dashboard]/resources/post_json.py"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "perf dashboard post",
|
| "stdin": "{\"data\": [{\"bot\": \"libvpx-bot\", \"buildername\": \"Nexus 5 Builder\", \"buildnumber\": \"75\", \"master\": \"client.libvpx\", \"masterid\": \"client.libvpx\", \"revision\": \"42\", \"test\": \"libvpx/decode/perf_test/nexus_5/vp90-2-bbb_426x240_tile_1x1_180kbps.webm_1\", \"units\": \"fps\", \"value\": 609.82868}, {\"bot\": \"libvpx-bot\", \"buildername\": \"Nexus 5 Builder\", \"buildnumber\": \"75\", \"master\": \"client.libvpx\", \"masterid\": \"client.libvpx\", \"revision\": \"42\", \"test\": \"libvpx/encode/perf_test/fps/nexus_5/vp90-2-bbb_640x360_tile_1x2_337kbps.webm_5\", \"units\": \"fps\", \"value\": 317.976883}, {\"bot\": \"libvpx-bot\", \"buildername\": \"Nexus 5 Builder\", \"buildnumber\": \"75\", \"master\": \"client.libvpx\", \"masterid\": \"client.libvpx\", \"revision\": \"42\", \"test\": \"libvpx/encode/perf_test/minPsnr/nexus_5/vp90-2-bbb_640x360_tile_1x2_337kbps.webm_5\", \"units\": \"dB\", \"value\": 43.5}], \"url\": \"https://chromeperf.appspot.com/add_point\"}"
|
| },
|
|
|