diff options
author | Jiri Olsa <Jiri Olsa jolsa@redhat.com> | 2011-04-20 14:18:28 +0200 |
---|---|---|
committer | Jiri Olsa <Jiri Olsa jolsa@redhat.com> | 2011-04-20 14:18:28 +0200 |
commit | c9d0018b9e527168292f8d40273a9e97223c0bc8 (patch) | |
tree | 899e1a2a97e98c74cd5d8830d0617c1b2729ba96 /test/Makefile | |
parent | 73eaae45cbc65f3269c54273849d42a3719c357c (diff) | |
download | latrace-c9d0018b9e527168292f8d40273a9e97223c0bc8.tar.gz latrace-c9d0018b9e527168292f8d40273a9e97223c0bc8.tar.xz latrace-c9d0018b9e527168292f8d40273a9e97223c0bc8.zip |
adding automated test support
So far for x86 and x86_64 others are disabled.
From this time on, I'll try to force addition of automated
test for each fix/feature.. ;)
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile new file mode 100644 index 0000000..2849b40 --- /dev/null +++ b/test/Makefile @@ -0,0 +1,28 @@ + +LDFLAGS+=-L. + +lib-test-common.so: test/lib-test-common.o + $(QUIET_LD)$(CC) $(CFLAGS) -fPIC -shared $(LDFLAGS) -o $@ $^ + +lib-test-args.so: test/lib-test-args.o + $(QUIET_LD)$(CC) $(CFLAGS) -fPIC -shared $(LDFLAGS) -o $@ $^ + +test-common: test/test-lib.o test/test-common.o + $(QUIET_LD)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ lib-test-common.so + +test-args: test/test-lib.o test/test-args.o test/sysdeps/$(CONFIG_SYSDEP_DIR)/test-args.o + $(QUIET_LD)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ lib-test-args.so + +OBJS+=test/test-lib.o + +OBJS+=\ + test/lib-test-args.o \ + test/test-args.o \ + test/sysdeps/$(CONFIG_SYSDEP_DIR)/test-args.o + +OBJS+=\ + test/lib-test-common.o \ + test/test-common.o + +PROGRAMS+=lib-test-common.so test-common +PROGRAMS+=lib-test-args.so test-args |