1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
Author: Andreas Beckmann <anbe@debian.org>
Description: the modulerc test fails with 32-bit time_t
Forwarded: not-needed
--- a/rt/modulerc/modulerc.tdesc
+++ b/rt/modulerc/modulerc.tdesc
@@ -1,6 +1,9 @@
-- -*- lua -*-
local testName = "modulerc"
+-- Skip the test on i386 (32-bit time_t)
+local skip_test = os.execute([[test "$(dpkg --print-architecture)" = "i386"]])
+
testdescript = {
owner = "rtm",
product = "modules",
@@ -9,7 +12,7 @@ testdescript = {
]],
keywords = {testName },
- active = 1,
+ active = not skip_test,
testName = testName,
job_submit_method = "INTERACTIVE",
@@ -204,6 +207,7 @@ EOF
# a relative 14 days to test nearly forbidden
# we will use an after="3000-01-01" and NEARLY be 400,000 days
# Note this test will fail sometime after the year 3000
+ # Note this test fails with 32-bit time_t already today
export LMOD_NEARLY_FORBIDDEN_DAYS=400000
runLmod avail #78
|