Commit c1af406f authored by noelallen@google.com's avatar noelallen@google.com

Wrap NaCl based UI tests with if defined(DISABLE_NACL)

To prevent execution of NaCl based ui_tests, add ifdef around
macro which creates tests in ppapi_uitest.cc.

BUG= none
TEST= build
TBR= jasonwkim@google.com

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111649 0039d316-1c4b-4281-b951-d872f2087c98
parent c055e705
......@@ -242,12 +242,17 @@ class PPAPINaClTest : public PPAPITestBase {
}
#if defined(DISABLE_NACL)
#define TEST_PPAPI_NACL_VIA_HTTP(test_name)
#else
// NaCl based PPAPI tests
#define TEST_PPAPI_NACL_VIA_HTTP(test_name) \
TEST_F(PPAPINaClTest, test_name) { \
RunTestViaHTTP(#test_name); \
}
#endif
//
// Interface tests.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment