Permalink
Browse files

fix "make distcheck"

- remove atconfig on distclean
- read expected output from files in the correct location
  • Loading branch information...
nphilipp committed Nov 9, 2013
1 parent 968a1d6 commit c9d3bb27d1214beaa1a4fe251e77fdcc0f22052d
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/Makefile.am
View
@@ -1,6 +1,6 @@
check_PROGRAMS = ltcencode ltcdecode
-CLEANFILES = output.raw
+CLEANFILES = output.raw atconfig
EXTRA_DIST= \
example_encode.c \
@@ -23,12 +23,12 @@ check: $(check_PROGRAMS)
uname -a
@echo "-----------------------------------------------------------------"
./ltcencode output.raw
- ./ltcdecode output.raw | diff -q expect_48k_2sec.txt -
+ ./ltcdecode output.raw | diff -q $(srcdir)/expect_48k_2sec.txt -
@echo "-----------------------------------------------------------------"
./ltcencode output.raw 192000
- ./ltcdecode output.raw 7680 | diff -q expect_96k_2sec.txt -
+ ./ltcdecode output.raw 7680 | diff -q $(srcdir)/expect_96k_2sec.txt -
@echo "-----------------------------------------------------------------"
- ./ltcdecode timecode.raw 882 | diff -q timecode.txt -
+ ./ltcdecode $(srcdir)/timecode.raw 882 | diff -q $(srcdir)/timecode.txt -
@echo "-----------------------------------------------------------------"
@echo " ${PACKAGE}-${VERSION} passed all tests."
@echo "-----------------------------------------------------------------"

0 comments on commit c9d3bb2

Please sign in to comment.