[game-data-packager] 02/06: check-equivalence: write out the derived data for each game

Simon McVittie smcv at debian.org
Mon Jan 25 01:14:28 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch master
in repository game-data-packager.

commit f07635e2a2eb6396283bcd59595fc65d45a24583
Author: Simon McVittie <smcv at debian.org>
Date:   Sun Jan 24 18:02:00 2016 +0000

    check-equivalence: write out the derived data for each game
    
    For easier debugging of what g-d-p is thinking :-)
---
 Makefile                   | 1 +
 tools/check_equivalence.py | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/Makefile b/Makefile
index 94fe7c0..9effe78 100644
--- a/Makefile
+++ b/Makefile
@@ -110,6 +110,7 @@ clean:
 	rm -f ./out/*.png
 	rm -f ./out/*.svgz
 	rm -f ./out/*.svg
+	rm -f ./out/*.txt
 	rm -f ./out/vfs.zip
 	rm -f ./out/index.html
 	rm -fr out/vfs
diff --git a/tools/check_equivalence.py b/tools/check_equivalence.py
index 2679bab..4826d41 100755
--- a/tools/check_equivalence.py
+++ b/tools/check_equivalence.py
@@ -114,4 +114,7 @@ if __name__ == '__main__':
                     '%s loaded from ref.zip' % name,
                     '%s loaded from vfs.zip' % name, n=50))
 
+        with open('out/%s-derived.txt' % name, 'w') as writer:
+            writer.write(vfs_to_json)
+
     raise SystemExit(fail)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list