diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2020-09-12 00:52:52 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2020-09-12 00:52:52 +0100 |
commit | 5e4590bc2c99b586defcd425a5b1e3c479c27832 (patch) | |
tree | 5385c1934e079d5a6e6a16701563affe1bdffdbe | |
parent | 06b25d3cfdfa71e219012366703f2f3d10f8f854 (diff) | |
download | pack-5e4590bc2c99b586defcd425a5b1e3c479c27832.tar.gz pack-5e4590bc2c99b586defcd425a5b1e3c479c27832.tar.xz pack-5e4590bc2c99b586defcd425a5b1e3c479c27832.zip |
unpack_test: Rename to a more generic name
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | all.do | 2 | ||||
-rwxr-xr-x | scripts/clean | 2 | ||||
-rw-r--r-- | test.c (renamed from unpack_test.c) | 2 | ||||
-rw-r--r-- | test.do | 3 | ||||
-rw-r--r-- | test.inc.do (renamed from unpack_test.inc.do) | 0 | ||||
-rw-r--r-- | test.o.do (renamed from unpack_test.o.do) | 2 | ||||
-rw-r--r-- | unpack_test.do | 3 |
8 files changed, 9 insertions, 9 deletions
@@ -1,6 +1,6 @@ *.d *.o -*_test *.inc -*_gen *.args +test +test_gen @@ -1,2 +1,2 @@ #!/bin/sh -redo-ifchange "$0" "unpack_test" +redo-ifchange "$0" "test" diff --git a/scripts/clean b/scripts/clean index 97d7b0f..42574c9 100755 --- a/scripts/clean +++ b/scripts/clean @@ -1,2 +1,2 @@ #!/bin/sh -find . \( -name '*.d' -o -name '*.o' -o -name '*_gen' -o -name '*.inc' \) -delete +find . \( -name '*.d' -o -name '*.o' -o -name '*.inc' -o -name 'test_gen' -o -name 'test' \) -delete @@ -34,7 +34,7 @@ struct test { } while (0) #define CHECK_EQUAL(f, a, b) if (a != b) { printf(__FILE__ ":%d %"f" != %"f"\n", __LINE__, a, b); return false; } -#include "unpack_test.inc" +#include "test.inc" TEST(simple0_float, "simple unpack float") { @@ -0,0 +1,3 @@ +#!/bin/bash +deps=(test.o common.o unpack.o trace.o) +. ./link diff --git a/unpack_test.inc.do b/test.inc.do index c6d5c1b..c6d5c1b 100644 --- a/unpack_test.inc.do +++ b/test.inc.do diff --git a/unpack_test.o.do b/test.o.do index a7c32b8..f90e621 100644 --- a/unpack_test.o.do +++ b/test.o.do @@ -1,4 +1,4 @@ #!/bin/bash -redo-ifchange "unpack_test.inc" +redo-ifchange "test.inc" set -- "$1" "${2%.o}" "$3" . ./default.o.do diff --git a/unpack_test.do b/unpack_test.do deleted file mode 100644 index 9c810c6..0000000 --- a/unpack_test.do +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -deps=(unpack_test.o common.o unpack.o trace.o) -. ./link |