-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
46 lines (40 loc) · 966 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
SUBDIRS = \
build \
Hyena \
Hyena.Data.Sqlite \
Hyena.Gui
clean-local:
rm -rf $(top_builddir)/bin
if ENABLE_TESTS
TEST_ASSEMBLIES = \
Hyena.dll \
Hyena.Data.Sqlite.dll \
Hyena.Gui.dll
ENV_OPTIONS = TZ=America/Chicago LC_ALL=it_IT LANG=it_IT
NUNIT_CONSOLE = $$(echo $$(which nunit-console2 || which nunit-console))
RUNNER = for asm in $${TEST_ASSEMBLIES}; do echo -e "\033[1mRunning tests on $${asm}...\033[0m"; $(ENV_OPTIONS) $(NUNIT_CONSOLE) -nologo -noshadow $$asm; done
test:
@pushd bin &>/dev/null; \
export TEST_ASSEMBLIES="$(TEST_ASSEMBLIES)"; $(RUNNER); \
popd &>/dev/null;
else
test:
echo "Tests not enabled. Pass --enable-tests to configure or ./autogen.sh"
endif
MAINTAINERCLEANFILES = \
compile \
INSTALL \
config.h.in \
aclocal.m4 \
ltmain.sh \
Makefile.in \
depcomp \
missing \
install-sh \
configure \
config.sub \
config.guess \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
mkinstalldirs