Commit f03e890c authored by norvell's avatar norvell
Browse files

Move output files. Exclude 2 failing cases

parent 5aed9f25
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1218,6 +1218,7 @@ ivas-conformance:
    - git restore .
    - git checkout $source_branch_commit_sha
    - cp tests/test_26252.py tests_ref/test_26252.py
    
    - rm -r tests scripts
    - mv tests_ref tests 
    - mv scripts_ref scripts
@@ -1235,6 +1236,10 @@ ivas-conformance:
    - python3 parse_commands.py report.html Readme_IVAS.txt
    - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true
    
    # Move output data
    - mv scripts/testv .
    - mv tests/ref tests/renderer/data tests/renderer/ref testv 
    
    # Test run generated scripts
    - python3 -m pytest tests/test_26252.py --junit-xml=report-junit.xml --html=report.html --self-contained-html || exit_code=$?
    - *merge-request-comparison-check
+2 −2
Original line number Diff line number Diff line
@@ -9,9 +9,9 @@ fi
CUT_DEC_BIN=$1
DIFF_BIN="diff"

REF_PATH="./tests"
TESTV_PATH="."
REF_PATH="./testv"
CUT_PATH="./TMP_DEC"
TESTV_PATH="./scripts"

rm -rf $CUT_PATH
mkdir -p $CUT_PATH
+2 −2
Original line number Diff line number Diff line
@@ -9,8 +9,8 @@ fi
CUT_ENC_BIN=$1
DIFF_BIN="diff"

TESTV_PATH="./scripts"
REF_PATH="./tests"
TESTV_PATH="."
REF_PATH="./testv"
CUT_PATH="./TMP_ENC"

rm -rf $CUT_PATH
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ if __name__ == '__main__':
            cmd = cmd.replace(root_folder + r'/tests/', CUT_PATH)
            cmd = cmd.replace(root_folder + r'/scripts/', TESTV_PATH)
            
            if not "pca" in cmd:            
            if not "pca" in cmd and not "stvFOA32c4chn_0.004.wav" in cmd and not "stvFOA32c4chn_0.004.wav" in cmd:            
                outfile.write(cmd+'\n')
                out = re.search(r"\s(([\S]+)(.wav|.raw|.pcm))$", cmd)
                if out:
+2 −2
Original line number Diff line number Diff line
@@ -9,8 +9,8 @@ fi
CUT_REND_BIN=$1
DIFF_BIN="diff"

TESTV_PATH="./scripts"
REF_PATH="./tests"
TESTV_PATH="."
REF_PATH="./testv"
CUT_PATH="./TMP_REND"

rm -rf $CUT_PATH