diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2016-07-13 16:10:28 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2016-11-17 11:36:55 +0100 |
commit | 8a00021b2ab5529640e5acaca30a27cdaca04178 (patch) | |
tree | 0944317c3e431143eedca84429348334a725e716 /tests/fs-tests/integrity | |
parent | d39ea7019cb204420c53a203ff9ccbb4cab0d4b3 (diff) |
Integrate tests into autotools build system
Add automake files for the test binaries. If configured to do so,
install the test binaries to libexec/mtd-utils and use autoconf to
fix the paths in the test scripts.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'tests/fs-tests/integrity')
-rw-r--r-- | tests/fs-tests/integrity/Makefile | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/fs-tests/integrity/Makefile b/tests/fs-tests/integrity/Makefile deleted file mode 100644 index b64bad9..0000000 --- a/tests/fs-tests/integrity/Makefile +++ /dev/null @@ -1,31 +0,0 @@ - -ifeq ($(origin CC),default) -CC = gcc -endif - -COMMON_HEADERS_DIR := ../../../include -LIBUBI_PATH = ../../../ubi-utils/ -LIBUBI_HEADER_PATH = $(LIBUBI_PATH)/include - -CFLAGS := $(CFLAGS) -Wall -g -O2 -I$(COMMON_HEADERS_DIR) -I$(LIBUBI_HEADER_PATH) - -LDFLAGS := $(LDFLAGS) - -TARGETS = integck - -all: $(TARGETS) - -# Compile ubilib -libubi.a: - $(CC) $(CFLAGS) -c $(LIBUBI_PATH)/libubi.c -o libubi.o - $(AR) cr libubi.a libubi.o - -$(TARGETS): libubi.a - -# Disable optimizations to make it possible to use gdb comfortably -# Use -rdynamic to have stack backtraces -debug: libubi.a - $(CC) $(CFLAGS) -O0 -D INTEGCK_DEBUG -rdynamic integck.c libubi.a -o integck - -clean: - rm -f *.o $(TARGETS) libubi.a |