[llvm-commits] [poolalloc] r114040 - in /poolalloc/trunk/test/pa/regression: 2010-09-14-Fptr.c 2010-09-14-Fptr_helper.c
Will Dietz
wdietz2 at illinois.edu
Wed Sep 15 16:22:25 PDT 2010
Author: wdietz2
Date: Wed Sep 15 18:22:25 2010
New Revision: 114040
URL: http://llvm.org/viewvc/llvm-project?rev=114040&view=rev
Log:
Fix up 'Fptr' tests.
Modified:
poolalloc/trunk/test/pa/regression/2010-09-14-Fptr.c
poolalloc/trunk/test/pa/regression/2010-09-14-Fptr_helper.c
Modified: poolalloc/trunk/test/pa/regression/2010-09-14-Fptr.c
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/pa/regression/2010-09-14-Fptr.c?rev=114040&r1=114039&r2=114040&view=diff
==============================================================================
--- poolalloc/trunk/test/pa/regression/2010-09-14-Fptr.c (original)
+++ poolalloc/trunk/test/pa/regression/2010-09-14-Fptr.c Wed Sep 15 18:22:25 2010
@@ -9,8 +9,8 @@
* RUN: llvm-gcc -o %t.native %s
*
* Execute the program to verify it's correct:
- * RUN: ./%t.pa >& %t.pa.out
- * RUN: /%t.native >& %t.native.out
+ * RUN: %t.pa >& %t.pa.out
+ * RUN: %t.native >& %t.native.out
*
* Diff the two executions
* RUN: diff %t.pa.out %t.native.out
@@ -39,4 +39,5 @@
{
int val = MAGIC;
getFP()(&val);
+ return 0;
}
Modified: poolalloc/trunk/test/pa/regression/2010-09-14-Fptr_helper.c
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/pa/regression/2010-09-14-Fptr_helper.c?rev=114040&r1=114039&r2=114040&view=diff
==============================================================================
--- poolalloc/trunk/test/pa/regression/2010-09-14-Fptr_helper.c (original)
+++ poolalloc/trunk/test/pa/regression/2010-09-14-Fptr_helper.c Wed Sep 15 18:22:25 2010
@@ -12,8 +12,8 @@
* RUN: llvm-gcc -o %t.native %s
*
* Execute the program to verify it's correct:
- * RUN: ./%t.pa >& %t.pa.out
- * RUN: /%t.native >& %t.native.out
+ * RUN: %t.pa >& %t.pa.out
+ * RUN: %t.native >& %t.native.out
*
* Diff the two executions
* RUN: diff %t.pa.out %t.native.out
@@ -47,4 +47,5 @@
{
int val = MAGIC;
helper(&val);
+ return 0;
}
More information about the llvm-commits
mailing list