summaryrefslogtreecommitdiffstats
path: root/tools/rusttests
diff options
context:
space:
mode:
Diffstat (limited to 'tools/rusttests')
-rw-r--r--tools/rusttests/app.mozbuild5
-rw-r--r--tools/rusttests/config/mozconfigs/common19
-rw-r--r--tools/rusttests/config/mozconfigs/linux32/rusttests2
-rw-r--r--tools/rusttests/config/mozconfigs/linux32/rusttests-debug2
-rw-r--r--tools/rusttests/config/mozconfigs/linux64/rusttests2
-rw-r--r--tools/rusttests/config/mozconfigs/linux64/rusttests-debug2
-rw-r--r--tools/rusttests/config/mozconfigs/macosx64/rusttests2
-rw-r--r--tools/rusttests/config/mozconfigs/macosx64/rusttests-debug2
-rw-r--r--tools/rusttests/config/mozconfigs/win32/rusttests3
-rw-r--r--tools/rusttests/config/mozconfigs/win32/rusttests-debug2
-rw-r--r--tools/rusttests/config/mozconfigs/win64/rusttests3
-rw-r--r--tools/rusttests/config/mozconfigs/win64/rusttests-debug2
-rw-r--r--tools/rusttests/config/mozconfigs/windows-common2
-rw-r--r--tools/rusttests/moz.configure5
14 files changed, 53 insertions, 0 deletions
diff --git a/tools/rusttests/app.mozbuild b/tools/rusttests/app.mozbuild
new file mode 100644
index 0000000000..9a4a225cf5
--- /dev/null
+++ b/tools/rusttests/app.mozbuild
@@ -0,0 +1,5 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+include('/toolkit/toolkit.mozbuild')
diff --git a/tools/rusttests/config/mozconfigs/common b/tools/rusttests/config/mozconfigs/common
new file mode 100644
index 0000000000..cac5b57ce9
--- /dev/null
+++ b/tools/rusttests/config/mozconfigs/common
@@ -0,0 +1,19 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# This file is included by all "tools/rusttests" mozconfigs
+
+MOZ_AUTOMATION_BUILD_SYMBOLS=0
+MOZ_AUTOMATION_PACKAGE=0
+MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0
+MOZ_AUTOMATION_UPLOAD=0
+MOZ_AUTOMATION_CHECK=0
+ac_add_options --enable-project=tools/rusttests
+. "$topsrcdir/build/mozconfig.common"
+. "$topsrcdir/build/mozconfig.common.override"
+
+unset ENABLE_CLANG_PLUGIN
+
+# Test geckodriver, which isn't built as part of the build jobs
+ac_add_options --enable-geckodriver
diff --git a/tools/rusttests/config/mozconfigs/linux32/rusttests b/tools/rusttests/config/mozconfigs/linux32/rusttests
new file mode 100644
index 0000000000..fa52698f9e
--- /dev/null
+++ b/tools/rusttests/config/mozconfigs/linux32/rusttests
@@ -0,0 +1,2 @@
+. "$topsrcdir/build/unix/mozconfig.linux32"
+. "$topsrcdir/tools/rusttests/config/mozconfigs/common"
diff --git a/tools/rusttests/config/mozconfigs/linux32/rusttests-debug b/tools/rusttests/config/mozconfigs/linux32/rusttests-debug
new file mode 100644
index 0000000000..b207ac6b4b
--- /dev/null
+++ b/tools/rusttests/config/mozconfigs/linux32/rusttests-debug
@@ -0,0 +1,2 @@
+. "$topsrcdir/tools/rusttests/config/mozconfigs/linux32/rusttests"
+ac_add_options --enable-debug
diff --git a/tools/rusttests/config/mozconfigs/linux64/rusttests b/tools/rusttests/config/mozconfigs/linux64/rusttests
new file mode 100644
index 0000000000..64d502087b
--- /dev/null
+++ b/tools/rusttests/config/mozconfigs/linux64/rusttests
@@ -0,0 +1,2 @@
+. "$topsrcdir/build/unix/mozconfig.linux"
+. "$topsrcdir/tools/rusttests/config/mozconfigs/common"
diff --git a/tools/rusttests/config/mozconfigs/linux64/rusttests-debug b/tools/rusttests/config/mozconfigs/linux64/rusttests-debug
new file mode 100644
index 0000000000..ef7157e53b
--- /dev/null
+++ b/tools/rusttests/config/mozconfigs/linux64/rusttests-debug
@@ -0,0 +1,2 @@
+. "$topsrcdir/tools/rusttests/config/mozconfigs/linux64/rusttests"
+ac_add_options --enable-debug
diff --git a/tools/rusttests/config/mozconfigs/macosx64/rusttests b/tools/rusttests/config/mozconfigs/macosx64/rusttests
new file mode 100644
index 0000000000..f70026f5fd
--- /dev/null
+++ b/tools/rusttests/config/mozconfigs/macosx64/rusttests
@@ -0,0 +1,2 @@
+. "$topsrcdir/build/macosx/mozconfig.common"
+. "$topsrcdir/tools/rusttests/config/mozconfigs/common"
diff --git a/tools/rusttests/config/mozconfigs/macosx64/rusttests-debug b/tools/rusttests/config/mozconfigs/macosx64/rusttests-debug
new file mode 100644
index 0000000000..760d51266e
--- /dev/null
+++ b/tools/rusttests/config/mozconfigs/macosx64/rusttests-debug
@@ -0,0 +1,2 @@
+. "$topsrcdir/tools/rusttests/config/mozconfigs/macosx64/rusttests"
+ac_add_options --enable-debug
diff --git a/tools/rusttests/config/mozconfigs/win32/rusttests b/tools/rusttests/config/mozconfigs/win32/rusttests
new file mode 100644
index 0000000000..64fe576e60
--- /dev/null
+++ b/tools/rusttests/config/mozconfigs/win32/rusttests
@@ -0,0 +1,3 @@
+ac_add_options --target=i686-pc-mingw32
+. "$topsrcdir/build/win32/mozconfig.vs-latest"
+. "$topsrcdir/tools/rusttests/config/mozconfigs/windows-common"
diff --git a/tools/rusttests/config/mozconfigs/win32/rusttests-debug b/tools/rusttests/config/mozconfigs/win32/rusttests-debug
new file mode 100644
index 0000000000..046d2d0a1d
--- /dev/null
+++ b/tools/rusttests/config/mozconfigs/win32/rusttests-debug
@@ -0,0 +1,2 @@
+. "$topsrcdir/tools/rusttests/config/mozconfigs/win32/rusttests"
+ac_add_options --enable-debug
diff --git a/tools/rusttests/config/mozconfigs/win64/rusttests b/tools/rusttests/config/mozconfigs/win64/rusttests
new file mode 100644
index 0000000000..9130de48d5
--- /dev/null
+++ b/tools/rusttests/config/mozconfigs/win64/rusttests
@@ -0,0 +1,3 @@
+ac_add_options --target=x86_64-pc-mingw32
+. "$topsrcdir/build/win64/mozconfig.vs-latest"
+. "$topsrcdir/tools/rusttests/config/mozconfigs/windows-common"
diff --git a/tools/rusttests/config/mozconfigs/win64/rusttests-debug b/tools/rusttests/config/mozconfigs/win64/rusttests-debug
new file mode 100644
index 0000000000..5f079b4d36
--- /dev/null
+++ b/tools/rusttests/config/mozconfigs/win64/rusttests-debug
@@ -0,0 +1,2 @@
+. "$topsrcdir/tools/rusttests/config/mozconfigs/win64/rusttests"
+ac_add_options --enable-debug
diff --git a/tools/rusttests/config/mozconfigs/windows-common b/tools/rusttests/config/mozconfigs/windows-common
new file mode 100644
index 0000000000..afdb996920
--- /dev/null
+++ b/tools/rusttests/config/mozconfigs/windows-common
@@ -0,0 +1,2 @@
+. "$topsrcdir/build/mozconfig.win-common"
+. "$topsrcdir/tools/rusttests/config/mozconfigs/common"
diff --git a/tools/rusttests/moz.configure b/tools/rusttests/moz.configure
new file mode 100644
index 0000000000..520989a8cf
--- /dev/null
+++ b/tools/rusttests/moz.configure
@@ -0,0 +1,5 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+include("../../toolkit/moz.configure")