diff options
| author | msheby <msheby@cinecert.com> | 2008-02-20 23:42:34 +0000 |
|---|---|---|
| committer | msheby <> | 2008-02-20 23:42:34 +0000 |
| commit | 205957669e1b4502c579227e3bf6cc1a2bf296ea (patch) | |
| tree | b087105e276a742b01fd0ac238b280940bc74c87 /src/wav-tst.sh | |
| parent | 06af2732e92552974e180f136a18c9a625d017d5 (diff) | |
Update autotools-relevant files.
Diffstat (limited to 'src/wav-tst.sh')
| -rwxr-xr-x | src/wav-tst.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/wav-tst.sh b/src/wav-tst.sh new file mode 100755 index 0000000..a9334eb --- /dev/null +++ b/src/wav-tst.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +# WAV tests + +${BUILD_DIR}/asdcp-test${EXEEXT} -c ${TEST_FILES}/write_test_wav.mxf ${TEST_FILES}/${TEST_FILE_PREFIX}.wav +if [ $? -ne 0 ]; then + exit 1 +fi + +${BUILD_DIR}/asdcp-test${EXEEXT} -x ${TEST_FILES}/extract ${TEST_FILES}/write_test_wav.mxf +if [ $? -ne 0 ]; then + exit 1 +fi +cmp ${TEST_FILES}/${TEST_FILE_PREFIX}.wav ${TEST_FILES}/extract_1.wav +if [ $? -ne 0 ]; then + exit 1 +fi |
