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-08-11 11:24:57 +0400
committerDavid Schleef <ds@schleef.org>2010-08-11 11:24:57 +0400
commit7b73c388ad92936d86b83867373024ee602388c6 (patch)
tree4c38a6401f5439ef0ab9e329a90bbb746cd7e6a9 /orc-test/orctest.c
parent57b08c9095797c2521a66ced0ca985aa8ae2ba00 (diff)
Fix segfault in test programs
Emulation requires that the program be compiled.
Diffstat (limited to 'orc-test/orctest.c')
-rw-r--r--orc-test/orctest.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/orc-test/orctest.c b/orc-test/orctest.c
index 07bb334..8aedc47 100644
--- a/orc-test/orctest.c
+++ b/orc-test/orctest.c
@@ -511,7 +511,7 @@ orc_test_compare_output_full (OrcProgram *program, int flags)
ORC_DEBUG ("got here");
- if (!(flags & ORC_TEST_FLAGS_BACKUP)) {
+ {
OrcTarget *target;
unsigned int flags;
@@ -575,7 +575,11 @@ orc_test_compare_output_full (OrcProgram *program, int flags)
}
}
ORC_DEBUG ("running");
- orc_executor_run (ex);
+ if (flags & ORC_TEST_FLAGS_BACKUP) {
+ orc_executor_run_backup (ex);
+ } else {
+ orc_executor_run (ex);
+ }
ORC_DEBUG ("done running");
for(i=0;i<ORC_N_VARIABLES;i++){
if (program->vars[i].vartype == ORC_VAR_TYPE_ACCUMULATOR) {