summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 374ba58)
raw | patch | inline | side by side (parent: 374ba58)
author | Jacob Stiffler <j-stiffler@ti.com> | |
Fri, 4 Apr 2014 18:24:12 +0000 (14:24 -0400) | ||
committer | Jacob Stiffler <j-stiffler@ti.com> | |
Fri, 4 Apr 2014 18:24:12 +0000 (14:24 -0400) |
filelist.txt | patch | blob | history | |
test/filetestdemo/scripts/dnld_demo_loopback.sh | patch | blob | history | |
test/filetestdemo/scripts/gen_test_file.sh | [new file with mode: 0755] | patch | blob |
test/filetestdemo/scripts/installdemo.sh | [deleted file] | patch | blob | history |
test/filetestdemo/scripts/run_cachedcmemtest.sh | patch | blob | history | |
test/filetestdemo/scripts/run_dspmaptest.sh | patch | blob | history | |
test/filetestdemo/scripts/run_memcpytest.sh | patch | blob | history | |
test/filetestdemo/scripts/run_noncachedcmemtest.sh | patch | blob | history | |
test/sync_test/run_test.sh | [changed mode: 0644->0755] | patch | blob | history |
diff --git a/filelist.txt b/filelist.txt
index 55a55f8ad6c89c02a986b0b8d3a3bbecb28a42f7..48d1950de7c2668203398cfe291fc26880c02396 100644 (file)
--- a/filelist.txt
+++ b/filelist.txt
./test/filetestdemo/Makefile
./test/filetestdemo/README
./test/filetestdemo/scripts/dnld_demo_loopback.sh
-./test/filetestdemo/scripts/installdemo.sh
+./test/filetestdemo/scripts/gen_test_file.sh
./test/filetestdemo/scripts/run_cachedcmemtest.sh
./test/filetestdemo/scripts/run_dspmaptest.sh
./test/filetestdemo/scripts/run_memcpytest.sh
diff --git a/test/filetestdemo/scripts/dnld_demo_loopback.sh b/test/filetestdemo/scripts/dnld_demo_loopback.sh
index a123f7a225bc1a8f494f128ee148c75a3a736ce4..4852cfd2453fc0234f2b7e1cb9a47d9967eef6d1 100755 (executable)
while [ $i -lt 8 ]; do
echo "demo_loopback.out -> dsp$i"
- mpmcl load dsp$i ../c66x/demo_loopback.out
+ mpmcl load dsp$i ../c66x/demo_loopback/build/bin/demo_loopback.out
let i=i+1
done
diff --git a/test/filetestdemo/scripts/gen_test_file.sh b/test/filetestdemo/scripts/gen_test_file.sh
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+dd if=/dev/urandom of=./test.file bs=4096 count=16384
+
diff --git a/test/filetestdemo/scripts/installdemo.sh b/test/filetestdemo/scripts/installdemo.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-DEMO_DIR=filetestdemo
-
-if [ $# -lt 1 ]
-then
-echo "Usage: $0 <install_dir>"
-exit
-fi
-
-cd ./scripts
-
-mkdir -pv $1/$DEMO_DIR/
-cp -v ../README $1/$DEMO_DIR
-
-# Copy scripts
-mkdir -pv $1/$DEMO_DIR/scripts
-cp -v dnld_demo_loopback.sh run_memcpytest.sh run_dspmaptest.sh run_cachedcmemtest.sh run_noncachedcmemtest.sh $1/$DEMO_DIR/scripts
-
-# Copy host executable
-mkdir -pv $1/$DEMO_DIR/host
-cp -v ../host/bin/demo_filetest $1/$DEMO_DIR/host
-
-#copy DSP image
-mkdir -pv $1/$DEMO_DIR/c66x
-cp -v ../c66x/demo_loopback/build/bin/demo_loopback.out $1/$DEMO_DIR/c66x
-
-
-
diff --git a/test/filetestdemo/scripts/run_cachedcmemtest.sh b/test/filetestdemo/scripts/run_cachedcmemtest.sh
index 3586bc7ad9b8dc10bbfec7f6d301332faaf0acfe..4065baa34287e9910f2dd5f89d124480856151da 100755 (executable)
# 0x3: 0 & 1 cores participating
# 0xffffffff indicates all 32 cores participating
-../host/demo_filetest ../testfiles/test.file testout.file 2 0xff 1 $1
+../host/bin/demo_filetest test.file testout.file 2 0xff 1 $1
diff --git a/test/filetestdemo/scripts/run_dspmaptest.sh b/test/filetestdemo/scripts/run_dspmaptest.sh
index 6dcf62b2be2134918e70aae8ef458daf894bc146..54c0ae3ead739f142871a0215dcdbf9fd8002f4c 100755 (executable)
# 0x3: 0 & 1 cores participating
# 0xffffffff indicates all 32 cores participating
-../host/demo_filetest ../testfiles/test.file testout.file 1 0xff 1 $1
+../host/bin/demo_filetest test.file testout.file 1 0xff 1 $1
diff --git a/test/filetestdemo/scripts/run_memcpytest.sh b/test/filetestdemo/scripts/run_memcpytest.sh
index ed2153b3d6faf5872d422d2dbc5ff8870f60dfb2..4fee8b5e6eb094f8d1747c08c98c3d786071bc1d 100755 (executable)
# 0x3: 0 & 1 cores participating
# 0xffffffff indicates all 32 cores participating
-../host/demo_filetest ../testfiles/test.file testout.file 0 0xff 1 $1
+../host/bin/demo_filetest test.file testout.file 0 0xff 1 $1
diff --git a/test/filetestdemo/scripts/run_noncachedcmemtest.sh b/test/filetestdemo/scripts/run_noncachedcmemtest.sh
index fdaa488cd7ebc65b984dad101b09c1d29d206ec1..5c6d2cb4f17c97fd616be10cbdaf5330bf6c9e49 100755 (executable)
# 0x3: 0 & 1 cores participating
# 0xffffffff indicates all 32 cores participating
-../host/demo_filetest ../testfiles/test.file testout.file 3 0xff 1 $1
+../host/bin/demo_filetest test.file testout.file 3 0xff 1 $1
while [ $i -lt 8 ]; do
echo "sync_test.out -> dsp$i"
- mpmcl load dsp$i ./c66x/sync_test.out
+ mpmcl load dsp$i ./c66x/bin/sync_test.out
let i=i+1
done
sleep 1
-./host/bin/sync_test
+./host/bin/sync_test 8