Commits

Michał Górny  committed a14dcac

Print an explanation before the test failure.

  • Participants
  • Parent commits c27e28b

Comments (0)

Files changed (1)

File tests/Makefile.am

 EXTRA_DIST = perform-test
 
 LOG_COMPILER = $(srcdir)/perform-test
-AM_LOG_FLAGS = @top_builddir@/mirage2iso
+AM_LOG_FLAGS = $(top_builddir)/mirage2iso
+
+check-tests-extra:
+	@if [ ! -f $(srcdir)/00_input.iso ]; then echo 'Please download:'; echo 'https://github.com/downloads/mgorny/mirage2iso/mirage2iso-0.3-tests.tar.xz'; echo 'and unpack in the top source directory.'; false; fi
+
+check-am: check-tests-extra
 
 clean-tests-extra:
 	for t in $(TESTS); do rm -f $${t}.iso $${t}.iso.2; done