Commit 0160b354 authored by Chris Manchester's avatar Chris Manchester
Browse files

Bug 1505072 - Automation and mozconfig changes to convert rusttests builds to...

Bug 1505072 - Automation and mozconfig changes to convert rusttests builds to use non-default build target. r=froydnj

Two mozconfg additions are necessary for these jobs on linux:
1.) Turning off the clang plugin, which will not get built during these builds
and will cause failures when C/C++ needed by the rust build tries to find it.
2.) Adding --output-sync=line to our make invocation: at some point the
"export" phase started relying on this, and it's missing because the
non-default build targets invoked by the rusttests builds don't go through
client.mk.

Differential Revision: https://phabricator.services.mozilla.com/D11242

--HG--
extra : moz-landing-system : lando
parent 45c16653
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3,5 +3,8 @@ MOZ_AUTOMATION_PACKAGE_TESTS=0
MOZ_AUTOMATION_L10N_CHECK=0

ac_add_options --enable-rust-tests
mk_add_options MOZ_MAKE_FLAGS=--output-sync=line

. "$topsrcdir/browser/config/mozconfigs/linux32/nightly"

unset ENABLE_CLANG_PLUGIN
+3 −0
Original line number Diff line number Diff line
@@ -3,5 +3,8 @@ MOZ_AUTOMATION_PACKAGE_TESTS=0
MOZ_AUTOMATION_L10N_CHECK=0

ac_add_options --enable-rust-tests
mk_add_options MOZ_MAKE_FLAGS=--output-sync=line

. "$topsrcdir/browser/config/mozconfigs/linux32/debug"

unset ENABLE_CLANG_PLUGIN
+3 −0
Original line number Diff line number Diff line
@@ -3,5 +3,8 @@ MOZ_AUTOMATION_PACKAGE_TESTS=0
MOZ_AUTOMATION_L10N_CHECK=0

ac_add_options --enable-rust-tests
mk_add_options MOZ_MAKE_FLAGS=--output-sync=line

. "$topsrcdir/browser/config/mozconfigs/linux64/nightly"

unset ENABLE_CLANG_PLUGIN
+3 −0
Original line number Diff line number Diff line
@@ -3,5 +3,8 @@ MOZ_AUTOMATION_PACKAGE_TESTS=0
MOZ_AUTOMATION_L10N_CHECK=0

ac_add_options --enable-rust-tests
mk_add_options MOZ_MAKE_FLAGS=--output-sync=line

. "$topsrcdir/browser/config/mozconfigs/linux64/debug"

unset ENABLE_CLANG_PLUGIN
+4 −4
Original line number Diff line number Diff line
@@ -424,7 +424,7 @@ linux-rusttests/opt:
            PERFHERDER_EXTRA_OPTIONS: rusttests
    run:
        using: mozharness
        actions: [get-secrets, build, check-test]
        actions: [get-secrets, build]
        config:
            - builds/releng_base_firefox.py
            - builds/releng_base_linux_32_builds.py
@@ -461,7 +461,7 @@ linux-rusttests/debug:
            PERFHERDER_EXTRA_OPTIONS: rusttests
    run:
        using: mozharness
        actions: [get-secrets, build, check-test]
        actions: [get-secrets, build]
        config:
            - builds/releng_base_firefox.py
            - builds/releng_base_linux_32_builds.py
@@ -858,7 +858,7 @@ linux64-rusttests/opt:
            PERFHERDER_EXTRA_OPTIONS: rusttests
    run:
        using: mozharness
        actions: [get-secrets, build, check-test]
        actions: [get-secrets, build]
        config:
            - builds/releng_base_firefox.py
            - builds/releng_base_linux_64_builds.py
@@ -894,7 +894,7 @@ linux64-rusttests/debug:
            PERFHERDER_EXTRA_OPTIONS: rusttests
    run:
        using: mozharness
        actions: [get-secrets, build, check-test]
        actions: [get-secrets, build]
        config:
            - builds/releng_base_firefox.py
            - builds/releng_base_linux_64_builds.py
Loading