summaryrefslogtreecommitdiff
path: root/testsuite/mk/test.mk
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/mk/test.mk')
-rw-r--r--testsuite/mk/test.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk
index a21c4bb16b..1eb8d49c4b 100644
--- a/testsuite/mk/test.mk
+++ b/testsuite/mk/test.mk
@@ -14,6 +14,9 @@
# CONFIG -- use a different configuration file
# COMPILER -- select a configuration file from config/
# THREADS -- run n tests at once
+# PLATFORM -- if accepting a result, accept it for the current platform.
+# OS -- if accepting a result, accept it for all wordsizes of the
+# current os.
#
# -----------------------------------------------------------------------------
@@ -280,6 +283,15 @@ endif
ifeq "$(accept)" "YES"
setaccept = -e config.accept=1
+
+ifeq "$(PLATFORM)" "YES"
+setaccept += -e config.accept_platform=1
+endif
+
+ifeq "$(OS)" "YES"
+setaccept += -e config.accept_os=1
+endif
+
else
setaccept =
endif