Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/orc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2010-03-21 22:57:01 +0300
committerDavid Schleef <ds@schleef.org>2010-03-30 00:04:34 +0400
commit67eb392ae01be7138ab4e776fc9998e8c2faa352 (patch)
tree471682ecdcd94bfecf4c66e871edf1e0f0ec4a76 /orc-test/orctest.c
parentf287138da6535ae4750d8dad9a4540f506e75126 (diff)
tests: improve tests with acc and const opcodes
Diffstat (limited to 'orc-test/orctest.c')
-rw-r--r--orc-test/orctest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/orc-test/orctest.c b/orc-test/orctest.c
index 05bbdb7..2206877 100644
--- a/orc-test/orctest.c
+++ b/orc-test/orctest.c
@@ -65,6 +65,9 @@ orc_test_gcc_compile (OrcProgram *p)
}
result = orc_program_compile_full (p, target, flags);
+ if (ORC_COMPILE_RESULT_IS_FATAL(result)) {
+ return ORC_TEST_FAILED;
+ }
if (!ORC_COMPILE_RESULT_IS_SUCCESSFUL(result)) {
return ORC_TEST_INDETERMINATE;
}
@@ -281,6 +284,9 @@ orc_test_compare_output_full (OrcProgram *program, int flags)
flags = orc_target_get_default_flags (target);
result = orc_program_compile_full (program, target, flags);
+ if (ORC_COMPILE_RESULT_IS_FATAL(result)) {
+ return ORC_TEST_FAILED;
+ }
if (!ORC_COMPILE_RESULT_IS_SUCCESSFUL(result)) {
return ORC_TEST_INDETERMINATE;
}