Skip to content

Commit

Permalink
Create special directory for recordings and define RECORD_DIR
Browse files Browse the repository at this point in the history
and RECORD_SPL_DIR uniformingly.
  • Loading branch information
sobomax committed May 19, 2023
1 parent d464705 commit aafe526
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions tests/.spool/.gitignore
@@ -0,0 +1 @@
*
2 changes: 0 additions & 2 deletions tests/acct_rtcp_hep/basic
Expand Up @@ -12,8 +12,6 @@ BASEDIR="$(readlink -f -- $BASEDIR)"

CD_DIR="${BASEDIR}/acct_rtcp_hep"
HEPSIZE=352
RECORD_DIR="${BUILDDIR}"
RECORD_SPL_DIR="${CD_DIR}"

run_udpreplay() {
direction=${1}
Expand Down
1 change: 0 additions & 1 deletion tests/command_parser/command_parser1
Expand Up @@ -29,7 +29,6 @@ run_command_parser() {
done
}

RECORD_DIR="${BUILDDIR}"
for socket in ${RTPP_TEST_SOCKETS}
do
if [ -e command_parser.rlog ]
Expand Down
3 changes: 0 additions & 3 deletions tests/forwarding/forwarding1
Expand Up @@ -229,9 +229,6 @@ REPACK_CODECSA="${CODECSA}"
CODECSO="${_CODECSO}"
CODECSA="${_CODECSA}"

RECORD_DIR="${BUILDDIR}"
RECORD_SPL_DIR="${BUILDDIR}/forwarding"

setup_buffers
setup_test_net_3

Expand Down
3 changes: 3 additions & 0 deletions tests/functions
Expand Up @@ -14,6 +14,9 @@ TOP_BUILDDIR="${TOP_BUILDDIR:-${BASEDIR}/..}"

PYTHON_DIR="${TOP_BUILDDIR}/python"
SIPPY_DIR="${PYTHON_DIR}/sippy_lite"
RPTL_DIR="${PYTHON_DIR}/RPTL"
RECORD_DIR="${BUILDDIR}"
RECORD_SPL_DIR="${BUILDDIR}/.spool"

PYINT=${PYINT:-"python3"}

Expand Down
2 changes: 0 additions & 2 deletions tests/recording/basic
Expand Up @@ -14,8 +14,6 @@ PCAP_DIR1="${BASEDIR}/rtp_analyze"
PCAP_DIR2="${BASEDIR}/acct_rtcp_hep"
CD_DIR="${BASEDIR}/recording"
RECSIZE=109564
RECORD_DIR="${BUILDDIR}"
RECORD_SPL_DIR="${CD_DIR}"

run_udpreplay() {
direction=${1}
Expand Down

0 comments on commit aafe526

Please sign in to comment.