blob: 1b23ca7283d608c146cf1048b72f37c0b62fabdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#!/bin/bash
#
# tst_ldpc_enc_setup
#
# Setup input and reference data for one of several versions of this test.
# Find the scripts directory
SCRIPTS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
# Setup common variables
source $SCRIPTS/run_tests_common.sh
# RUN_DIR - Directory where test will be run
RUN_DIR="${UNITTEST_BASE}/test_run/${FULL_TEST_NAME}"
# Call common setup function to make the directory
setup_common "${RUN_DIR}"
# Change to test directory
cd "${RUN_DIR}"
#####################################################################
## Test SETUP actions:
#case "${TEST_OPT}" in
#
# plain )
# # Config is <unused>, <unused>, <ldpc_en>, <unused> <profile>
# echo "00000000" > stm_cfg.txt
ofdm_get_test_bits --out stm_in.raw --frames 6 --verbose \
> setup.log 2>&1
ldpc_enc stm_in.raw ref_out.raw --code HRA_112_112 \
> ref_gen.log 2>&1
# ;;
#
# esac
exit 0
|