Skip to content

Commit

Permalink
Add an alert already here if 'make test' is attempted for a cross-com…
Browse files Browse the repository at this point in the history
…pile

since there's no use building the whole test suite first and _then_ tell it
doesn't work anyway...
  • Loading branch information
bagder committed Mar 11, 2005
1 parent 0e4e28f commit c4ce9ac
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile.am
Expand Up @@ -48,6 +48,15 @@ pdf:

check: test

if CROSSCOMPILING
test-full: test
test-torture: test

test:
@echo "NOTICE: we can't run the tests when cross-compiling!"

else

test:
@(cd tests; $(MAKE) all quiet-test)

Expand All @@ -57,6 +66,8 @@ test-full:
test-torture:
@(cd tests; $(MAKE) all torture-test)

endif

#
# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
# must contain the following line:
Expand Down

0 comments on commit c4ce9ac

Please sign in to comment.