summaryrefslogtreecommitdiffstats
path: root/chrome/test/unit/run_all_unittests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/unit/run_all_unittests.cc')
-rw-r--r--chrome/test/unit/run_all_unittests.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/test/unit/run_all_unittests.cc b/chrome/test/unit/run_all_unittests.cc
index 8a7419b..3ed4a73 100644
--- a/chrome/test/unit/run_all_unittests.cc
+++ b/chrome/test/unit/run_all_unittests.cc
@@ -2,9 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "build/build_config.h"
+
+#include "base/test_suite.h"
+
+// TODO(port): This is not Windows-specific, but needs to be ported.
+#if defined(OS_WIN)
#include "chrome/test/unit/chrome_test_suite.h"
+#endif
int main(int argc, char **argv) {
+#if defined(OS_WIN)
+ // TODO(port): This is not Windows-specific, but needs to be ported.
return ChromeTestSuite(argc, argv).Run();
+#else
+ return TestSuite(argc, argv).Run();
+#endif
}