summaryrefslogtreecommitdiff
path: root/testsuite/tests/programs/galois_raytrace/test.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/programs/galois_raytrace/test.T')
-rw-r--r--testsuite/tests/programs/galois_raytrace/test.T26
1 files changed, 26 insertions, 0 deletions
diff --git a/testsuite/tests/programs/galois_raytrace/test.T b/testsuite/tests/programs/galois_raytrace/test.T
new file mode 100644
index 0000000000..169e162d6a
--- /dev/null
+++ b/testsuite/tests/programs/galois_raytrace/test.T
@@ -0,0 +1,26 @@
+setTestOpts(omit_compiler_types(['hugs'])) # takes much too long
+
+# Floating point differences on x86 using the NCG
+if config.platform.startswith('i386-') and \
+ config.platform != 'i386-unknown-openbsd':
+ setTestOpts(expect_fail_for(['hpc','optasm','profasm','threaded2','profthreaded']))
+
+test('galois_raytrace',
+ [skip_if_fast,
+ extra_clean(['CSG.hi', 'CSG.o',
+ 'Construct.hi', 'Construct.o',
+ 'Data.hi', 'Data.o',
+ 'Eval.hi', 'Eval.o',
+ 'Geometry.hi', 'Geometry.o',
+ 'Illumination.hi', 'Illumination.o',
+ 'Intersections.hi', 'Intersections.o',
+ 'Interval.hi', 'Interval.o',
+ 'Main.hi', 'Main.o',
+ 'Misc.hi', 'Misc.o',
+ 'Parse.hi', 'Parse.o',
+ 'Primitives.hi', 'Primitives.o',
+ 'Surface.hi', 'Surface.o']),
+ reqlib('parsec')],
+ multimod_compile_and_run,
+ ['Main','-package parsec'])
+