[Scummvm-git-logs] scummvm master -> e187cee80202b4da1b9fc401a9c78264b84a5699

phcoder phcoder at gmail.com
Mon Nov 16 05:31:32 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e187cee802 TEST: Don't suppress errors on copying of encoding.dat


Commit: e187cee80202b4da1b9fc401a9c78264b84a5699
    https://github.com/scummvm/scummvm/commit/e187cee80202b4da1b9fc401a9c78264b84a5699
Author: Vladimir Serbinenko (phcoder at google.com)
Date: 2020-11-16T06:30:48+01:00

Commit Message:
TEST: Don't suppress errors on copying of encoding.dat

Changed paths:
    test/module.mk


diff --git a/test/module.mk b/test/module.mk
index 56fbac78e9..91fdfccd34 100644
--- a/test/module.mk
+++ b/test/module.mk
@@ -69,6 +69,8 @@ endif
 
 
 test: test/runner
+	-md5sum test/engine-data/encoding.dat
+	-md5sum $(srcdir)/dists/engine-data/encoding.dat
 	./test/runner
 test/runner: test/runner.cpp $(TEST_LIBS) copy-dat
 	$(QUIET_CXX)$(CXX) $(TEST_CXXFLAGS) $(CPPFLAGS) $(TEST_CFLAGS) -o $@ test/runner.cpp $(TEST_LIBS) $(TEST_LDFLAGS)
@@ -79,10 +81,10 @@ test/runner.cpp: $(TESTS)
 clean: clean-test
 clean-test:
 	-$(RM) test/runner.cpp test/runner test/engine-data/encoding.dat
-	rmdir test/engine-data
+	-rmdir test/engine-data
 
 copy-dat:
-	-$(MKDIR) test/engine-data
-	-$(CP) $(srcdir)/dists/engine-data/encoding.dat test/engine-data/encoding.dat
+	$(MKDIR) test/engine-data
+	$(CP) $(srcdir)/dists/engine-data/encoding.dat test/engine-data/encoding.dat
 
 .PHONY: test clean-test copy-dat




More information about the Scummvm-git-logs mailing list