@@ -90,5 +90,5 @@ static unsigned int umod(unsigned int x, unsigned int y)
/*
* check-name: Arithmetic operator code generation
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -2,5 +2,5 @@ static char array[128];
/*
* check-name: Array code generation
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -60,5 +60,5 @@ static unsigned int unot(unsigned int x)
/*
* check-name: Bitwise operator code generation
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -5,5 +5,5 @@ static _Bool return_false(void)
/*
* check-name: Boolean type code generation
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -46,5 +46,5 @@ DEFINE_CASTS(double)
/*
* check-name: Cast code generation
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -80,5 +80,5 @@ static int setfge(float x, float y)
/*
* check-name: Comparison operator code generation
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -7,5 +7,5 @@ static unsigned long bar(void)
/*
* check-name: Extern symbol code generation
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -7,5 +7,5 @@ static int run(fn_t fn, int x, int y)
/*
* check-name: Function pointer code generation
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -9,5 +9,5 @@ int main(int argc, char *argv[])
/*
* check-name: 'hello, world' code generation
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -26,5 +26,5 @@ static long bar_bool(_Bool a, long b, long c)
/*
* check-name: Non-bool condition values in branch/select
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -8,5 +8,5 @@ static void test(void) {
/*
* check-name: Type of loaded objects
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -20,5 +20,5 @@ static unsigned int uor_bool(unsigned int x, unsigned int y)
/*
* check-name: Logical operator code generation
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -17,5 +17,5 @@ int foo (int x)
/*
* check-name: Loops
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -10,5 +10,5 @@ static void test(void)
/*
* check-name: Loops with unused counter
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -5,5 +5,5 @@ static char *ptrcast(unsigned long *x)
/*
* check-name: Pointer cast code generation
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -8,5 +8,5 @@ static void set(struct foo *f)
/*
* check-name: Type of stored objects
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -24,5 +24,5 @@ static void store_d(struct st *st, int *d)
/*
* check-name: struct access code generation
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -21,5 +21,5 @@ static struct unnamed un;
/*
* check-name: Struct code generation
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -19,7 +19,7 @@ int main(int argc, char **argv)
/*
* check-name: sum from 1 to n
- * check-command: ./sparsei $file
+ * check-command: sparsei $file
*
* check-output-start
15
@@ -8,5 +8,5 @@ static union foo foo;
/*
* check-name: Union code generation
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -9,5 +9,5 @@ static void *bar(void *p)
/*
* check-name: void return type code generation
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
@@ -2,5 +2,5 @@ static int prototype(void);
/*
* check-name: Compile skip function prototype
- * check-command: ./sparsec -c $file -o tmp.o
+ * check-command: sparsec -c $file -o tmp.o
*/
Some testcase have their command specified as './<command name>' but the './' part is unneeded as all commands are first prefixed with '../' before being run. Furthermore, the possible presence of these './' force the use of 'basename' when filtering out the disabled commands. Change this by stripping the './' where is was used. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> --- validation/backend/arithmetic-ops.c | 2 +- validation/backend/array.c | 2 +- validation/backend/bitwise-ops.c | 2 +- validation/backend/bool-test.c | 2 +- validation/backend/cast.c | 2 +- validation/backend/cmp-ops.c | 2 +- validation/backend/extern.c | 2 +- validation/backend/function-ptr.c | 2 +- validation/backend/hello.c | 2 +- validation/backend/int-cond.c | 2 +- validation/backend/load-type.c | 2 +- validation/backend/logical-ops.c | 2 +- validation/backend/loop.c | 2 +- validation/backend/loop2.c | 2 +- validation/backend/ptrcast.c | 2 +- validation/backend/store-type.c | 2 +- validation/backend/struct-access.c | 2 +- validation/backend/struct.c | 2 +- validation/backend/sum.c | 2 +- validation/backend/union.c | 2 +- validation/backend/void-return-type.c | 2 +- validation/prototype.c | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-)