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:
authorPascal Terjan <pterjan@google.com>2016-05-04 12:36:21 +0300
committerTim-Philipp Müller <tim@centricular.com>2016-05-04 14:15:34 +0300
commitc471352db4764bdcc24223338639e4c3f52b3e51 (patch)
tree99bfa1d2366655912fcb7bfa8611bd34d6cbd86f /testsuite
parent26e9721c110fc8411485debffc058ff7465f0055 (diff)
Fix test_parse with no executable backend
https://bugzilla.gnome.org/show_bug.cgi?id=765953
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/test_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/test_parse.c b/testsuite/test_parse.c
index 65b17e9..87fa4ea 100644
--- a/testsuite/test_parse.c
+++ b/testsuite/test_parse.c
@@ -38,7 +38,7 @@ main (int argc, char *argv[])
printf ("%s\n", programs[i]->name);
orc_test_compare_output_full (programs[i], 0);
cres = orc_program_compile (programs[i]);
- if (cres != ORC_COMPILE_RESULT_OK) {
+ if (ORC_COMPILE_RESULT_IS_FATAL (cres)) {
fprintf (stderr, "compile error: %d\n", cres);
error = TRUE;
}
@@ -55,7 +55,7 @@ main (int argc, char *argv[])
printf ("%s\n", programs[i]->name);
orc_test_compare_output_full (programs[i], 0);
cres = orc_program_compile (programs[i]);
- if (cres != ORC_COMPILE_RESULT_OK) {
+ if (ORC_COMPILE_RESULT_IS_FATAL (cres)) {
fprintf (stderr, "compile error: %d\n", cres);
error = TRUE;
}