From 2cce1d08fc39e649538061ab4bf2c71a88a631a6 Mon Sep 17 00:00:00 2001 From: Neeraj Kumar Date: Sun, 20 Jun 2010 17:20:22 +0000 Subject: added data-directory for testbed svn-id: r50088 --- dists/engine-data/testbed/TESTBED | 1 + dists/engine-data/testbed/TeStBeD/testbed.conf | 1 + dists/engine-data/testbed/testbed.out | 1 + dists/engine-data/testbed/testbed/testbed.conf | 1 + 4 files changed, 4 insertions(+) create mode 100644 dists/engine-data/testbed/TESTBED create mode 100644 dists/engine-data/testbed/TeStBeD/testbed.conf create mode 100644 dists/engine-data/testbed/testbed.out create mode 100644 dists/engine-data/testbed/testbed/testbed.conf (limited to 'dists/engine-data') diff --git a/dists/engine-data/testbed/TESTBED b/dists/engine-data/testbed/TESTBED new file mode 100644 index 0000000000..6d41a4ac86 --- /dev/null +++ b/dists/engine-data/testbed/TESTBED @@ -0,0 +1 @@ +ScummVM Rocks! diff --git a/dists/engine-data/testbed/TeStBeD/testbed.conf b/dists/engine-data/testbed/TeStBeD/testbed.conf new file mode 100644 index 0000000000..68300b8563 --- /dev/null +++ b/dists/engine-data/testbed/TeStBeD/testbed.conf @@ -0,0 +1 @@ +It works! diff --git a/dists/engine-data/testbed/testbed.out b/dists/engine-data/testbed/testbed.out new file mode 100644 index 0000000000..fbe42fa215 --- /dev/null +++ b/dists/engine-data/testbed/testbed.out @@ -0,0 +1 @@ +ScummVM Rocks! \ No newline at end of file diff --git a/dists/engine-data/testbed/testbed/testbed.conf b/dists/engine-data/testbed/testbed/testbed.conf new file mode 100644 index 0000000000..acb479f734 --- /dev/null +++ b/dists/engine-data/testbed/testbed/testbed.conf @@ -0,0 +1 @@ +It doesn't really works! -- cgit v1.2.3 From cbd36ff78dbb5571adb9095605b03a2d93c3a38b Mon Sep 17 00:00:00 2001 From: Neeraj Kumar Date: Mon, 21 Jun 2010 07:37:00 +0000 Subject: added a zip file and a script to create desired directory structure svn-id: r50106 --- dists/engine-data/createGameData | 4 ++++ dists/engine-data/testbed.zip | Bin 0 -> 998 bytes dists/engine-data/testbed/TESTBED | 1 - dists/engine-data/testbed/TeStBeD/testbed.conf | 1 - dists/engine-data/testbed/testbed.out | 1 - dists/engine-data/testbed/testbed/testbed.conf | 1 - 6 files changed, 4 insertions(+), 4 deletions(-) create mode 100755 dists/engine-data/createGameData create mode 100644 dists/engine-data/testbed.zip delete mode 100644 dists/engine-data/testbed/TESTBED delete mode 100644 dists/engine-data/testbed/TeStBeD/testbed.conf delete mode 100644 dists/engine-data/testbed/testbed.out delete mode 100644 dists/engine-data/testbed/testbed/testbed.conf (limited to 'dists/engine-data') diff --git a/dists/engine-data/createGameData b/dists/engine-data/createGameData new file mode 100755 index 0000000000..8a3cabe0c3 --- /dev/null +++ b/dists/engine-data/createGameData @@ -0,0 +1,4 @@ +#!/bin/sh + +unzip testbed.zip +mv testbed/testbed_mixed_case testbed/TeStBeD diff --git a/dists/engine-data/testbed.zip b/dists/engine-data/testbed.zip new file mode 100644 index 0000000000..33e1a83ab5 Binary files /dev/null and b/dists/engine-data/testbed.zip differ diff --git a/dists/engine-data/testbed/TESTBED b/dists/engine-data/testbed/TESTBED deleted file mode 100644 index 6d41a4ac86..0000000000 --- a/dists/engine-data/testbed/TESTBED +++ /dev/null @@ -1 +0,0 @@ -ScummVM Rocks! diff --git a/dists/engine-data/testbed/TeStBeD/testbed.conf b/dists/engine-data/testbed/TeStBeD/testbed.conf deleted file mode 100644 index 68300b8563..0000000000 --- a/dists/engine-data/testbed/TeStBeD/testbed.conf +++ /dev/null @@ -1 +0,0 @@ -It works! diff --git a/dists/engine-data/testbed/testbed.out b/dists/engine-data/testbed/testbed.out deleted file mode 100644 index fbe42fa215..0000000000 --- a/dists/engine-data/testbed/testbed.out +++ /dev/null @@ -1 +0,0 @@ -ScummVM Rocks! \ No newline at end of file diff --git a/dists/engine-data/testbed/testbed/testbed.conf b/dists/engine-data/testbed/testbed/testbed.conf deleted file mode 100644 index acb479f734..0000000000 --- a/dists/engine-data/testbed/testbed/testbed.conf +++ /dev/null @@ -1 +0,0 @@ -It doesn't really works! -- cgit v1.2.3 From 0012b23e8471135c7c5dcff5311db60c0164a881 Mon Sep 17 00:00:00 2001 From: Neeraj Kumar Date: Tue, 22 Jun 2010 14:39:51 +0000 Subject: modified the filesystem test, added a script to directly create the game-data-directory, no zip file required svn-id: r50140 --- dists/engine-data/create-testbed-data.sh | 48 +++++++++++++++++++++++++++++++ dists/engine-data/createGameData | 4 --- dists/engine-data/testbed.zip | Bin 998 -> 0 bytes 3 files changed, 48 insertions(+), 4 deletions(-) create mode 100755 dists/engine-data/create-testbed-data.sh delete mode 100755 dists/engine-data/createGameData delete mode 100644 dists/engine-data/testbed.zip (limited to 'dists/engine-data') diff --git a/dists/engine-data/create-testbed-data.sh b/dists/engine-data/create-testbed-data.sh new file mode 100755 index 0000000000..1ed6c733b5 --- /dev/null +++ b/dists/engine-data/create-testbed-data.sh @@ -0,0 +1,48 @@ +#!/bin/sh + +# Create the directory structure +# Avoided bash shortcuts/ file-seperators in interest of portability + +if [ -e testbed ]; then + echo "Game-data already present as testbed/" + echo "To regenerate, remove and rerun" + exit 0 +fi + +mkdir testbed + +cd testbed + +# For game detection +echo "ScummVM rocks!" > TESTBED + +mkdir test1 +mkdir Test2 +mkdir TEST3 +mkdir tEST4 +mkdir test5 + + +cd test1 +echo "It works!" > file.txt +cd .. + +cd Test2 +echo "It works!" > File.txt +cd .. + +cd TEST3 +echo "It works!" > FILE.txt +cd .. + +cd tEST4 +echo "It works!" > fILe.txt +cd .. + +cd test5 +echo "It works!" > file. +cd .. + +# back to the top +cd .. +echo "Game data created" diff --git a/dists/engine-data/createGameData b/dists/engine-data/createGameData deleted file mode 100755 index 8a3cabe0c3..0000000000 --- a/dists/engine-data/createGameData +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -unzip testbed.zip -mv testbed/testbed_mixed_case testbed/TeStBeD diff --git a/dists/engine-data/testbed.zip b/dists/engine-data/testbed.zip deleted file mode 100644 index 33e1a83ab5..0000000000 Binary files a/dists/engine-data/testbed.zip and /dev/null differ -- cgit v1.2.3 From fee1bb28bd54f77edbe1e85135384ba9d1af9fa2 Mon Sep 17 00:00:00 2001 From: Neeraj Kumar Date: Tue, 3 Aug 2010 20:26:28 +0000 Subject: TESTBED: added audiocd test sound tracks as the testbed engine data svn-id: r51713 --- dists/engine-data/create-testbed-data.sh | 6 +++++- dists/engine-data/testbed-audiocd-files/track01.mp3 | Bin 0 -> 15300 bytes dists/engine-data/testbed-audiocd-files/track02.mp3 | Bin 0 -> 15927 bytes dists/engine-data/testbed-audiocd-files/track03.mp3 | Bin 0 -> 11389 bytes dists/engine-data/testbed-audiocd-files/track04.mp3 | Bin 0 -> 16136 bytes 5 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 dists/engine-data/testbed-audiocd-files/track01.mp3 create mode 100755 dists/engine-data/testbed-audiocd-files/track02.mp3 create mode 100755 dists/engine-data/testbed-audiocd-files/track03.mp3 create mode 100755 dists/engine-data/testbed-audiocd-files/track04.mp3 (limited to 'dists/engine-data') diff --git a/dists/engine-data/create-testbed-data.sh b/dists/engine-data/create-testbed-data.sh index 1ed6c733b5..0200803caa 100755 --- a/dists/engine-data/create-testbed-data.sh +++ b/dists/engine-data/create-testbed-data.sh @@ -1,7 +1,7 @@ #!/bin/sh # Create the directory structure -# Avoided bash shortcuts/ file-seperators in interest of portability +# Avoided bash shortcuts / file-seperators in interest of portability if [ -e testbed ]; then echo "Game-data already present as testbed/" @@ -45,4 +45,8 @@ cd .. # back to the top cd .. + +# move the audiocd data to newly created directory +cp -r testbed-audiocd-files testbed/audiocd-files + echo "Game data created" diff --git a/dists/engine-data/testbed-audiocd-files/track01.mp3 b/dists/engine-data/testbed-audiocd-files/track01.mp3 new file mode 100755 index 0000000000..53d057ee96 Binary files /dev/null and b/dists/engine-data/testbed-audiocd-files/track01.mp3 differ diff --git a/dists/engine-data/testbed-audiocd-files/track02.mp3 b/dists/engine-data/testbed-audiocd-files/track02.mp3 new file mode 100755 index 0000000000..daf8e4860d Binary files /dev/null and b/dists/engine-data/testbed-audiocd-files/track02.mp3 differ diff --git a/dists/engine-data/testbed-audiocd-files/track03.mp3 b/dists/engine-data/testbed-audiocd-files/track03.mp3 new file mode 100755 index 0000000000..1ef385d640 Binary files /dev/null and b/dists/engine-data/testbed-audiocd-files/track03.mp3 differ diff --git a/dists/engine-data/testbed-audiocd-files/track04.mp3 b/dists/engine-data/testbed-audiocd-files/track04.mp3 new file mode 100755 index 0000000000..7607087f08 Binary files /dev/null and b/dists/engine-data/testbed-audiocd-files/track04.mp3 differ -- cgit v1.2.3