diff options
author | David Schleef <ds@schleef.org> | 2009-07-07 14:09:26 -0700 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2009-07-07 14:09:26 -0700 |
commit | db22cafb1ea0ee03a1f4fecdc0cec277622c5d09 (patch) | |
tree | 545f37c508a4a027acd916885505f5e74450366d /orc-test/orctest.c | |
parent | dfd6ad9e074b5e6917e9d1624ee6888063ef288b (diff) | |
parent | 0e99006857acc5f8be59c99b32816118212761b5 (diff) |
Merge branch 'master' into neon
Diffstat (limited to 'orc-test/orctest.c')
-rw-r--r-- | orc-test/orctest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/orc-test/orctest.c b/orc-test/orctest.c index ded5674..53cfd9b 100644 --- a/orc-test/orctest.c +++ b/orc-test/orctest.c @@ -68,7 +68,7 @@ orc_test_gcc_compile (OrcProgram *p) fclose (file); #if defined(HAVE_POWERPC) - sprintf (cmd, "gcc -Wa,-mregnames -Wall -c %s -o %d", source_filename, + sprintf (cmd, "gcc -Wa,-mregnames -Wall -c %s -o %s", source_filename, obj_filename); #else sprintf (cmd, "gcc -Wall -c %s -o %s", source_filename, @@ -529,7 +529,7 @@ OrcTestResult orc_test_compare_output (OrcProgram *program) { OrcExecutor *ex; - int n = 64 + (random()&0xf); + int n = 64 + (rand()&0xf); void *dest_exec[4] = { NULL, NULL, NULL, NULL }; void *dest_emul[4] = { NULL, NULL, NULL, NULL }; void *ptr_exec[4]; |