diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-06-09 10:13:23 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-06-09 10:20:55 -0400 |
commit | 9d38bc79ae203a18b43480ecb43e540847d472a3 (patch) | |
tree | 7d363ac75f3ebe64ba6ac9c6901da6bfacad3ee0 /Makefile | |
parent | 66dcff23edbde46ee10a28af19525d734f46872c (diff) | |
download | bfs-9d38bc79ae203a18b43480ecb43e540847d472a3.tar.xz |
tests: New acceptance test for xtimegm()
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -89,7 +89,7 @@ ALL_LDLIBS = $(LOCAL_LDLIBS) $(LDLIBS) default: bfs -all: bfs tests/mksock +all: bfs tests/mksock tests/xtimegm bfs: \ bftw.o \ @@ -126,10 +126,16 @@ release: bfs tests/mksock: tests/mksock.o $(CC) $(ALL_LDFLAGS) $^ -o $@ +tests/xtimegm: time.o tests/xtimegm.o + $(CC) $(ALL_LDFLAGS) $^ -o $@ + %.o: %.c $(CC) $(ALL_CFLAGS) -c $< -o $@ -check: check-bfs check-dfs check-ids +check: check-xtimegm check-bfs check-dfs check-ids + +check-xtimegm: tests/xtimegm + $< check-%: all ./tests.sh --bfs="$(CURDIR)/bfs -S $*" $(TEST_FLAGS) @@ -144,7 +150,7 @@ endif +$(MAKE) -B check $(DISTCHECK_FLAGS) clean: - $(RM) bfs *.[od] tests/mksock tests/*.[od] + $(RM) bfs *.[od] tests/mksock tests/xtimegm tests/*.[od] install: $(MKDIR) $(DESTDIR)$(PREFIX)/bin |