Bug 1335873 - Add marionette-harness python tests to root moz.build file, r=mshal
☠☠ backed out by d2b0ed8f69e0 ☠ ☠
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Wed, 15 Feb 2017 16:47:11 -0500
changeset 383279 f35554b2951eec1f87f2f5439286a6fbbd10c8e7
parent 383278 3c0a7527608aa6398f8177b08088da39592078d9
child 383280 2873be3659a3841a44d652f2e84f25983c59c4fa
push idunknown
push userunknown
push dateunknown
reviewersmshal
bugs1335873
milestone54.0a1
Bug 1335873 - Add marionette-harness python tests to root moz.build file, r=mshal The marionette-harness tests should be runnable even without an objdir, however the marionette moz.build file doesn't get included without a build via the DIRS variable. This change gets around that issue by specifically including the marionette-harness manifest from the root moz.build, though maybe it would be better to always process the testing/marionette/moz.build file, and move things that need to behind an "if CONFIG['MOZ_BUILD_APP']" condition? MozReview-Commit-ID: Ata99evHxbd
moz.build
--- a/moz.build
+++ b/moz.build
@@ -82,9 +82,14 @@ else:
     TEST_DIRS += ['js/src/tests']
 
 if not CONFIG['JS_STANDALONE'] and CONFIG['MOZ_BUILD_APP']:
     # Bring in the configuration for the configured application.
     include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
 
 CONFIGURE_SUBST_FILES += ['.cargo/config']
 
+# These python manifests are included here so they get picked up without an objdir
+PYTHON_UNITTEST_MANIFESTS += [
+    'testing/marionette/harness/marionette_harness/tests/harness_unit/python.ini',
+]
+
 include('build/templates.mozbuild')