diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-05-28 17:14:23 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-05-28 21:10:26 +0200 |
| commit | 914904553e9b48d0b5b0fa8dba6cb4daa08aeea0 (patch) | |
| tree | d360316f563d72eb94294d5aa1b699b3a4c8191b /validation | |
| parent | d13daddac87692bcc444eecd502539035153848c (diff) | |
| download | sparse-dev-914904553e9b48d0b5b0fa8dba6cb4daa08aeea0.tar.gz | |
testsuite: remove unneeded './' before commands
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>
Diffstat (limited to 'validation')
| -rw-r--r-- | validation/backend/arithmetic-ops.c | 2 | ||||
| -rw-r--r-- | validation/backend/array.c | 2 | ||||
| -rw-r--r-- | validation/backend/bitwise-ops.c | 2 | ||||
| -rw-r--r-- | validation/backend/bool-test.c | 2 | ||||
| -rw-r--r-- | validation/backend/cast.c | 2 | ||||
| -rw-r--r-- | validation/backend/cmp-ops.c | 2 | ||||
| -rw-r--r-- | validation/backend/extern.c | 2 | ||||
| -rw-r--r-- | validation/backend/function-ptr.c | 2 | ||||
| -rw-r--r-- | validation/backend/hello.c | 2 | ||||
| -rw-r--r-- | validation/backend/int-cond.c | 2 | ||||
| -rw-r--r-- | validation/backend/load-type.c | 2 | ||||
| -rw-r--r-- | validation/backend/logical-ops.c | 2 | ||||
| -rw-r--r-- | validation/backend/loop.c | 2 | ||||
| -rw-r--r-- | validation/backend/loop2.c | 2 | ||||
| -rw-r--r-- | validation/backend/ptrcast.c | 2 | ||||
| -rw-r--r-- | validation/backend/store-type.c | 2 | ||||
| -rw-r--r-- | validation/backend/struct-access.c | 2 | ||||
| -rw-r--r-- | validation/backend/struct.c | 2 | ||||
| -rw-r--r-- | validation/backend/sum.c | 2 | ||||
| -rw-r--r-- | validation/backend/union.c | 2 | ||||
| -rw-r--r-- | validation/backend/void-return-type.c | 2 | ||||
| -rw-r--r-- | validation/prototype.c | 2 |
22 files changed, 22 insertions, 22 deletions
diff --git a/validation/backend/arithmetic-ops.c b/validation/backend/arithmetic-ops.c index 7c299d03..55996d9c 100644 --- a/validation/backend/arithmetic-ops.c +++ b/validation/backend/arithmetic-ops.c @@ -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 */ diff --git a/validation/backend/array.c b/validation/backend/array.c index bd3ec596..4e87b79e 100644 --- a/validation/backend/array.c +++ b/validation/backend/array.c @@ -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 */ diff --git a/validation/backend/bitwise-ops.c b/validation/backend/bitwise-ops.c index 659c7639..9f61fca1 100644 --- a/validation/backend/bitwise-ops.c +++ b/validation/backend/bitwise-ops.c @@ -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 */ diff --git a/validation/backend/bool-test.c b/validation/backend/bool-test.c index a6f33a1a..cd20a4bd 100644 --- a/validation/backend/bool-test.c +++ b/validation/backend/bool-test.c @@ -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 */ diff --git a/validation/backend/cast.c b/validation/backend/cast.c index 598b16aa..4ca531b5 100644 --- a/validation/backend/cast.c +++ b/validation/backend/cast.c @@ -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 */ diff --git a/validation/backend/cmp-ops.c b/validation/backend/cmp-ops.c index a5f736d7..c7918da1 100644 --- a/validation/backend/cmp-ops.c +++ b/validation/backend/cmp-ops.c @@ -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 */ diff --git a/validation/backend/extern.c b/validation/backend/extern.c index 24cbae55..b5c14d84 100644 --- a/validation/backend/extern.c +++ b/validation/backend/extern.c @@ -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 */ diff --git a/validation/backend/function-ptr.c b/validation/backend/function-ptr.c index fc022b3c..35fb678a 100644 --- a/validation/backend/function-ptr.c +++ b/validation/backend/function-ptr.c @@ -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 */ diff --git a/validation/backend/hello.c b/validation/backend/hello.c index 79905004..b0e514be 100644 --- a/validation/backend/hello.c +++ b/validation/backend/hello.c @@ -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 */ diff --git a/validation/backend/int-cond.c b/validation/backend/int-cond.c index 48b25a77..2a5a4348 100644 --- a/validation/backend/int-cond.c +++ b/validation/backend/int-cond.c @@ -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 */ diff --git a/validation/backend/load-type.c b/validation/backend/load-type.c index 80416cad..82556769 100644 --- a/validation/backend/load-type.c +++ b/validation/backend/load-type.c @@ -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 */ diff --git a/validation/backend/logical-ops.c b/validation/backend/logical-ops.c index 8b2a6a85..ec5b7c6d 100644 --- a/validation/backend/logical-ops.c +++ b/validation/backend/logical-ops.c @@ -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 */ diff --git a/validation/backend/loop.c b/validation/backend/loop.c index 31054f52..181a0068 100644 --- a/validation/backend/loop.c +++ b/validation/backend/loop.c @@ -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 */ diff --git a/validation/backend/loop2.c b/validation/backend/loop2.c index 279af214..d827b5d3 100644 --- a/validation/backend/loop2.c +++ b/validation/backend/loop2.c @@ -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 */ diff --git a/validation/backend/ptrcast.c b/validation/backend/ptrcast.c index 46f8add8..8e4df070 100644 --- a/validation/backend/ptrcast.c +++ b/validation/backend/ptrcast.c @@ -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 */ diff --git a/validation/backend/store-type.c b/validation/backend/store-type.c index 9e2ce73f..2246a3b3 100644 --- a/validation/backend/store-type.c +++ b/validation/backend/store-type.c @@ -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 */ diff --git a/validation/backend/struct-access.c b/validation/backend/struct-access.c index 884b4706..3d193e33 100644 --- a/validation/backend/struct-access.c +++ b/validation/backend/struct-access.c @@ -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 */ diff --git a/validation/backend/struct.c b/validation/backend/struct.c index 905339af..083b05c3 100644 --- a/validation/backend/struct.c +++ b/validation/backend/struct.c @@ -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 */ diff --git a/validation/backend/sum.c b/validation/backend/sum.c index c9451d4b..06042999 100644 --- a/validation/backend/sum.c +++ b/validation/backend/sum.c @@ -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 diff --git a/validation/backend/union.c b/validation/backend/union.c index e155f6ad..7ec35c7a 100644 --- a/validation/backend/union.c +++ b/validation/backend/union.c @@ -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 */ diff --git a/validation/backend/void-return-type.c b/validation/backend/void-return-type.c index b282fdee..e540a9d4 100644 --- a/validation/backend/void-return-type.c +++ b/validation/backend/void-return-type.c @@ -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 */ diff --git a/validation/prototype.c b/validation/prototype.c index 481cc93e..c338e161 100644 --- a/validation/prototype.c +++ b/validation/prototype.c @@ -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 */ |
