Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Unified Diff: mojo/tools/data/gotests

Issue 1384243002: Adds the ability to run pure Go unit tests in the Mojo test suite. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Adds dummy go tests to run. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/tools/data/gotests
diff --git a/mojo/tools/data/gotests b/mojo/tools/data/gotests
new file mode 100644
index 0000000000000000000000000000000000000000..1e63ba16599bd309f42a156ae9b7707054e40a8d
--- /dev/null
+++ b/mojo/tools/data/gotests
@@ -0,0 +1,11 @@
+# This file contains a list of Go tests that should be run by the script
+# mojo/tools/run_pure_go_tests.py.
+#
+# The contents should be valid Python defining a global variable named
+# "test_dirs" defined as a list of lists. Each sublist contains the
+# components of a path, relative to the Mojo source root, of a directory
+# containing a Go package.
+test_dirs = [
+ ['mojom', 'mojom_parser', 'lexer'],
viettrungluu 2015/10/09 21:39:49 Representing a path as a list is pretty user-unfri
rudominer 2015/10/09 23:42:06 Done.
+ ['mojom', 'mojom_parser', 'parser']
+]

Powered by Google App Engine
This is Rietveld 408576698