Create example cramtest draft
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Fri, 20 Jan 2017 11:41:45 -0500
changeset 470457 80a82ba136538d231071d7e703f517d3fb0afc33
parent 470456 a331fd0135a6d53370059da0501eee65a2eeac88
child 544479 e9f2aae6e1f328d20d83adbc8861abb918b6af74
push id44031
push userahalberstadt@mozilla.com
push dateFri, 03 Feb 2017 19:02:40 +0000
milestone54.0a1
Create example cramtest MozReview-Commit-ID: LPr8zvqKkeR
testing/mozbase/cram.ini
testing/mozbase/moz.build
testing/mozbase/test_echo.t
new file mode 100644
--- /dev/null
+++ b/testing/mozbase/cram.ini
@@ -0,0 +1,1 @@
+[test_echo.t]
--- a/testing/mozbase/moz.build
+++ b/testing/mozbase/moz.build
@@ -16,16 +16,20 @@ PYTHON_UNITTEST_MANIFESTS += [
     'moznetwork/tests/manifest.ini',
     'mozprocess/tests/manifest.ini',
     'mozprofile/tests/manifest.ini',
     'mozrunner/tests/manifest.ini',
     'moztest/tests/manifest.ini',
     'mozversion/tests/manifest.ini',
 ]
 
+CRAMTEST_MANIFESTS += [
+    'cram.ini',
+]
+
 python_modules = [
     'manifestparser',
     'mozcrash',
     'mozdebug',
     'mozdevice',
     'mozfile',
     'mozhttpd',
     'mozinfo',
@@ -44,9 +48,9 @@ python_modules = [
 
 TEST_HARNESS_FILES.mozbase += [m + '/**' for m in python_modules]
 
 TEST_HARNESS_FILES.mozbase += [
     'setup_development.py',
 ]
 
 with Files('**'):
-    BUG_COMPONENT = ('Testing', 'Mozbase')
\ No newline at end of file
+    BUG_COMPONENT = ('Testing', 'Mozbase')
new file mode 100644
--- /dev/null
+++ b/testing/mozbase/test_echo.t
@@ -0,0 +1,4 @@
+Test echo
+
+  $ echo 'foobar'
+  foobar