From 5c957c0c8e928cbe64eb8a84733d649fd32642ef Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Thu, 25 Apr 2019 14:43:52 +0200 Subject: Arranged the types to start writing the replay based property test --- tests/replays/import-replay.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 tests/replays/import-replay.sh (limited to 'tests/replays/import-replay.sh') diff --git a/tests/replays/import-replay.sh b/tests/replays/import-replay.sh new file mode 100755 index 0000000..034efed --- /dev/null +++ b/tests/replays/import-replay.sh @@ -0,0 +1,12 @@ +#/bin/sh + +# $1: The match-log directory +# Should be run from the target directory + +logname=$(basename $1) + +mkdir $logname +cp $1/A*.csv $logname/A-log.csv +cp $1/B*.csv $logname/B-log.csv +cp $1/Round\ 001/A*/JsonMap.json $logname/A-init.json +cp $1/Round\ 001/B*/JsonMap.json $logname/B-init.json -- cgit v1.2.3