Blame


1 ff36aeea 2022-07-16 thomas SUBDIRS = compat libexec got tog gotadmin gotwebd
2 dd038bc6 2021-09-21 thomas.ad
3 0ca5b679 2021-10-09 thomas include $(top_builddir)/Makefile.common
4 0ca5b679 2021-10-09 thomas
5 0b2bb718 2021-09-21 thomas.ad EXTRA_DIST = CHANGES CHANGELOG
6 0b2bb718 2021-09-21 thomas.ad
7 dd038bc6 2021-09-21 thomas.ad LDADD = $(LIBOBJS)
8 5a7ef102 2021-10-09 thomas if HOST_FREEBSD
9 5a7ef102 2021-10-09 thomas LDADD += -lmd
10 5a7ef102 2021-10-09 thomas LIBS += -lmd
11 5a7ef102 2021-10-09 thomas endif
12 dd038bc6 2021-09-21 thomas.ad
13 5a7ef102 2021-10-09 thomas TEST_TARGETS=regress-delta regress-deltify regress-fetch regress-idset \
14 5a7ef102 2021-10-09 thomas regress-path regress-cmdline
15 5a7ef102 2021-10-09 thomas GOT_TEST_ROOT=/tmp
16 5a7ef102 2021-10-09 thomas
17 5a7ef102 2021-10-09 thomas tests: $(TEST_TARGETS)
18 5a7ef102 2021-10-09 thomas
19 5a7ef102 2021-10-09 thomas regress-cmdline:
20 1ff9fea4 2021-11-23 thomas (export PLATFORM=@PLATFORM@; \
21 1ff9fea4 2021-11-23 thomas cd $(top_builddir)/regress/cmdline || exit $$?; \
22 3c79ece5 2022-06-23 op ./checkout.sh -q -r "$(GOT_TEST_ROOT)"; \
23 3c79ece5 2022-06-23 op ./update.sh -q -r "$(GOT_TEST_ROOT)"; \
24 3c79ece5 2022-06-23 op ./status.sh -q -r "$(GOT_TEST_ROOT)"; \
25 3c79ece5 2022-06-23 op ./log.sh -q -r "$(GOT_TEST_ROOT)"; \
26 3c79ece5 2022-06-23 op ./add.sh -q -r "$(GOT_TEST_ROOT)"; \
27 3c79ece5 2022-06-23 op ./rm.sh -q -r "$(GOT_TEST_ROOT)"; \
28 3c79ece5 2022-06-23 op ./diff.sh -q -r "$(GOT_TEST_ROOT)"; \
29 3c79ece5 2022-06-23 op ./blame.sh -q -r "$(GOT_TEST_ROOT)"; \
30 3c79ece5 2022-06-23 op ./branch.sh -q -r "$(GOT_TEST_ROOT)"; \
31 3c79ece5 2022-06-23 op ./tag.sh -q -r "$(GOT_TEST_ROOT)"; \
32 3c79ece5 2022-06-23 op ./ref.sh -q -r "$(GOT_TEST_ROOT)"; \
33 3c79ece5 2022-06-23 op ./commit.sh -q -r "$(GOT_TEST_ROOT)"; \
34 3c79ece5 2022-06-23 op ./revert.sh -q -r "$(GOT_TEST_ROOT)"; \
35 3c79ece5 2022-06-23 op ./cherrypick.sh -q -r "$(GOT_TEST_ROOT)"; \
36 3c79ece5 2022-06-23 op ./backout.sh -q -r "$(GOT_TEST_ROOT)"; \
37 3c79ece5 2022-06-23 op ./rebase.sh -q -r "$(GOT_TEST_ROOT)"; \
38 3c79ece5 2022-06-23 op ./import.sh -q -r "$(GOT_TEST_ROOT)"; \
39 3c79ece5 2022-06-23 op ./histedit.sh -q -r "$(GOT_TEST_ROOT)"; \
40 3c79ece5 2022-06-23 op ./integrate.sh -q -r "$(GOT_TEST_ROOT)"; \
41 3c79ece5 2022-06-23 op ./merge.sh -q -r "$(GOT_TEST_ROOT)"; \
42 3c79ece5 2022-06-23 op ./stage.sh -q -r "$(GOT_TEST_ROOT)"; \
43 3c79ece5 2022-06-23 op ./unstage.sh -q -r "$(GOT_TEST_ROOT)"; \
44 3c79ece5 2022-06-23 op ./cat.sh -q -r "$(GOT_TEST_ROOT)"; \
45 3c79ece5 2022-06-23 op ./clone.sh -q -r "$(GOT_TEST_ROOT)"; \
46 3c79ece5 2022-06-23 op ./fetch.sh -q -r "$(GOT_TEST_ROOT)"; \
47 3c79ece5 2022-06-23 op ./send.sh -q -r "$(GOT_TEST_ROOT)"; \
48 3c79ece5 2022-06-23 op ./tree.sh -q -r "$(GOT_TEST_ROOT)"; \
49 d5df63da 2022-03-09 thomas ./patch.sh -q -r "$(GOT_TEST_ROOT)" \
50 3c79ece5 2022-06-23 op ./pack.sh -q -r "$(GOT_TEST_ROOT)"; \
51 3c79ece5 2022-06-23 op ./cleanup.sh -q -r "$(GOT_TEST_ROOT)")
52 5a7ef102 2021-10-09 thomas
53 5a7ef102 2021-10-09 thomas regress-delta:
54 5a7ef102 2021-10-09 thomas $(CC) $(DEFS) $(AM_CFLAGS) $(AM_CPPFLAGS) \
55 5a7ef102 2021-10-09 thomas -o $(top_builddir)/regress/delta/delta_test \
56 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/delta.c \
57 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/error.c \
58 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/opentemp.c \
59 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/path.c \
60 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/inflate.c \
61 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/sha1.c \
62 5a7ef102 2021-10-09 thomas $(top_srcdir)/regress/delta/delta_test.c \
63 5a7ef102 2021-10-09 thomas -L$(top_builddir)/compat -lopenbsd-compat $(LIBS) && \
64 5a7ef102 2021-10-09 thomas $(top_builddir)/regress/delta/delta_test
65 5a7ef102 2021-10-09 thomas
66 5a7ef102 2021-10-09 thomas regress-deltify:
67 5a7ef102 2021-10-09 thomas $(CC) $(DEFS) $(AM_CFLAGS) $(AM_CPPFLAGS) \
68 5a7ef102 2021-10-09 thomas -o $(top_builddir)/regress/deltify/deltify_test \
69 5a7ef102 2021-10-09 thomas $(top_srcdir)/regress/deltify/deltify_test.c \
70 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/deltify.c \
71 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/error.c \
72 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/opentemp.c \
73 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/sha1.c \
74 ebdfb05b 2022-02-12 thomas $(top_srcdir)/lib/murmurhash2.c \
75 5a7ef102 2021-10-09 thomas -L$(top_builddir)/compat -lopenbsd-compat $(LIBS) && \
76 5a7ef102 2021-10-09 thomas $(top_builddir)/regress/deltify/deltify_test
77 5a7ef102 2021-10-09 thomas
78 5a7ef102 2021-10-09 thomas regress-fetch:
79 5a7ef102 2021-10-09 thomas $(CC) $(DEFS) $(AM_CFLAGS) $(AM_CPPFLAGS) \
80 5a7ef102 2021-10-09 thomas -o $(top_builddir)/regress/fetch/fetch_test \
81 5a7ef102 2021-10-09 thomas $(top_srcdir)/regress/fetch/fetch_test.c \
82 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/error.c \
83 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/privsep.c \
84 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/reference.c \
85 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/sha1.c \
86 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/object.c \
87 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/object_parse.c \
88 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/path.c \
89 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/opentemp.c \
90 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/repository.c \
91 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/lockfile.c \
92 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/object_cache.c \
93 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/pack.c \
94 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/inflate.c \
95 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/deflate.c \
96 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/delta.c \
97 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/delta_cache.c \
98 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/object_idset.c \
99 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/object_create.c \
100 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/fetch.c \
101 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/gotconfig.c \
102 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/dial.c \
103 37fdd5cc 2021-10-15 thomas $(top_srcdir)/lib/bloom.c \
104 37fdd5cc 2021-10-15 thomas $(top_srcdir)/lib/murmurhash2.c \
105 1d7053d6 2022-07-06 thomas $(top_srcdir)/lib/buf.c \
106 1d7053d6 2022-07-06 thomas $(top_srcdir)/lib/sigs.c \
107 1d7053d6 2022-07-06 thomas $(top_srcdir)/lib/date.c \
108 37fdd5cc 2021-10-15 thomas -L$(top_builddir)/compat -lopenbsd-compat $(LIBS) -lm && \
109 5a7ef102 2021-10-09 thomas $(top_builddir)/regress/fetch/fetch_test
110 5a7ef102 2021-10-09 thomas
111 5a7ef102 2021-10-09 thomas regress-idset:
112 5a7ef102 2021-10-09 thomas $(CC) $(DEFS) $(AM_CFLAGS) $(AM_CPPFLAGS) \
113 5a7ef102 2021-10-09 thomas -o $(top_builddir)/regress/idset/idset_test \
114 5a7ef102 2021-10-09 thomas $(top_srcdir)/regress/idset/idset_test.c \
115 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/error.c \
116 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/sha1.c \
117 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/object_idset.c \
118 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/inflate.c \
119 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/path.c \
120 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/object_parse.c \
121 5a7ef102 2021-10-09 thomas -L$(top_builddir)/compat -lopenbsd-compat $(LIBS) && \
122 5a7ef102 2021-10-09 thomas $(top_builddir)/regress/idset/idset_test
123 5a7ef102 2021-10-09 thomas
124 5a7ef102 2021-10-09 thomas regress-path:
125 5a7ef102 2021-10-09 thomas $(CC) $(DEFS) $(AM_CFLAGS) $(AM_CPPFLAGS) \
126 5a7ef102 2021-10-09 thomas -o $(top_builddir)/regress/path/path_test \
127 5a7ef102 2021-10-09 thomas $(top_srcdir)/regress/path/path_test.c \
128 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/error.c \
129 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/sha1.c \
130 5a7ef102 2021-10-09 thomas $(top_srcdir)/lib/path.c \
131 5a7ef102 2021-10-09 thomas -L$(top_builddir)/compat -lopenbsd-compat $(LIBS) && \
132 5a7ef102 2021-10-09 thomas $(top_builddir)/regress/path/path_test