diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-29 15:27:21 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-29 15:27:21 +0000 |
commit | 714cfffb4f2a6cb9b2ea05e44608942664df8405 (patch) | |
tree | eff39a335377a6f7122be0a5eae9cf5b776e1136 | |
parent | 4473068af165c2a2312403c443dc4a0538e285d7 (diff) | |
download | chromium_src-714cfffb4f2a6cb9b2ea05e44608942664df8405.zip chromium_src-714cfffb4f2a6cb9b2ea05e44608942664df8405.tar.gz chromium_src-714cfffb4f2a6cb9b2ea05e44608942664df8405.tar.bz2 |
Move debug_stub_browser_tests.py and gdb_rsp.py to chrome\test\data since that's where files that are used by tests live.
R=halyavin@google.com
Review URL: https://codereview.chromium.org/426793003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286202 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc | 6 | ||||
-rw-r--r-- | chrome/browser_tests.isolate | 13 | ||||
-rw-r--r-- | chrome/test/data/nacl/debug_stub_browser_tests.py (renamed from chrome/browser/nacl_host/test/debug_stub_browser_tests.py) | 0 | ||||
-rw-r--r-- | chrome/test/data/nacl/gdb_rsp.py (renamed from chrome/browser/nacl_host/test/gdb_rsp.py) | 0 | ||||
-rw-r--r-- | chrome/test/nacl/nacl_browsertest.cc | 6 |
5 files changed, 7 insertions, 18 deletions
diff --git a/chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc b/chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc index 32f1a58..ac26321 100644 --- a/chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc +++ b/chrome/browser/nacl_host/test/gdb_debug_stub_browsertest.cc @@ -8,6 +8,7 @@ #include "base/process/kill.h" #include "base/process/launch.h" #include "base/strings/string_number_conversions.h" +#include "chrome/common/chrome_paths.h" #include "chrome/test/ppapi/ppapi_test.h" #include "components/nacl/browser/nacl_browser.h" #include "components/nacl/common/nacl_switches.h" @@ -37,9 +38,8 @@ void NaClGdbDebugStubTest::StartTestScript(base::ProcessHandle* test_process, // We call python script to reuse GDB RSP protocol implementation. CommandLine cmd(base::FilePath(FILE_PATH_LITERAL("python"))); base::FilePath script; - PathService::Get(base::DIR_SOURCE_ROOT, &script); - script = script.AppendASCII( - "chrome/browser/nacl_host/test/debug_stub_browser_tests.py"); + PathService::Get(chrome::DIR_TEST_DATA, &script); + script = script.AppendASCII("nacl/debug_stub_browser_tests.py"); cmd.AppendArgPath(script); cmd.AppendArg(base::IntToString(debug_stub_port)); cmd.AppendArg(test_name); diff --git a/chrome/browser_tests.isolate b/chrome/browser_tests.isolate index d880c1c..987ff76 100644 --- a/chrome/browser_tests.isolate +++ b/chrome/browser_tests.isolate @@ -30,14 +30,6 @@ ], }, }], - ['OS=="linux" or OS=="mac"', { - 'variables': { - 'isolate_dependency_tracked': [ - 'browser/nacl_host/test/debug_stub_browser_tests.py', - 'browser/nacl_host/test/gdb_rsp.py', - ], - }, - }], ['OS=="linux" or OS=="mac" or OS=="win"', { 'variables': { 'isolate_dependency_tracked': [ @@ -57,7 +49,6 @@ 'browser/policy/test/asn1der.py', 'browser/policy/test/policy_testserver.py', 'browser/safe_browsing/safe_browsing_testserver.py', - 'common/extensions/docs/examples/apps/calculator/', ], 'isolate_dependency_untracked': [ '../content/test/data/', @@ -76,7 +67,7 @@ '<(PRODUCT_DIR)/remoting/unittests/', '<(PRODUCT_DIR)/test_data/', '<(PRODUCT_DIR)/test_url_loader_data/', - 'common/extensions/docs/examples/apps/calculator/tests/', + 'common/extensions/docs/examples/apps/calculator/', 'test/data/', 'third_party/mock4js/', ], @@ -135,8 +126,6 @@ 'tools/build/repack_locales.py', ], 'isolate_dependency_untracked': [ - '../third_party/npapi/npspy/extern/plugin/', - '../third_party/psyco_win32/psyco/', '<(PRODUCT_DIR)/plugins/', ], }, diff --git a/chrome/browser/nacl_host/test/debug_stub_browser_tests.py b/chrome/test/data/nacl/debug_stub_browser_tests.py index 8c74c86..8c74c86 100644 --- a/chrome/browser/nacl_host/test/debug_stub_browser_tests.py +++ b/chrome/test/data/nacl/debug_stub_browser_tests.py diff --git a/chrome/browser/nacl_host/test/gdb_rsp.py b/chrome/test/data/nacl/gdb_rsp.py index 28680df..28680df 100644 --- a/chrome/browser/nacl_host/test/gdb_rsp.py +++ b/chrome/test/data/nacl/gdb_rsp.py diff --git a/chrome/test/nacl/nacl_browsertest.cc b/chrome/test/nacl/nacl_browsertest.cc index 197f1fb..491f4ec 100644 --- a/chrome/test/nacl/nacl_browsertest.cc +++ b/chrome/test/nacl/nacl_browsertest.cc @@ -18,6 +18,7 @@ #include "base/process/launch.h" #include "base/strings/string_number_conversions.h" #include "base/win/windows_version.h" +#include "chrome/common/chrome_paths.h" #include "chrome/common/chrome_switches.h" #include "chrome/test/nacl/nacl_browsertest_util.h" #include "components/nacl/browser/nacl_browser.h" @@ -263,9 +264,8 @@ class NaClBrowserTestPnaclDebug : public NaClBrowserTestPnacl { // lets the app continue, so that the load progress event completes. CommandLine cmd(base::FilePath(FILE_PATH_LITERAL("python"))); base::FilePath script; - PathService::Get(base::DIR_SOURCE_ROOT, &script); - script = script.AppendASCII( - "chrome/browser/nacl_host/test/debug_stub_browser_tests.py"); + PathService::Get(chrome::DIR_TEST_DATA, &script); + script = script.AppendASCII("nacl/debug_stub_browser_tests.py"); cmd.AppendArgPath(script); cmd.AppendArg(base::IntToString(debug_stub_port)); cmd.AppendArg("continue"); |