Skip to content

Commit 4d9e88c

Browse files
sdamghanvaughnbetz
authored andcommitted
[Odin]: Fixing verify_odin script to run vtr_light_suite
Signed-off-by: Seyed Alireza Damghani <[email protected]>
1 parent 1f7fd26 commit 4d9e88c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ODIN_II/verify_odin.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@ FILTERED_VTR_TASK_PATH="${NEW_RUN_DIR}/vtr/task_list.txt"
12551255
function run_vtr_reg() {
12561256
pushd "${VTR_DIR}" &> /dev/null
12571257
RELATIVE_PATH_TO_TEST=$(realapath_from "${FILTERED_VTR_TASK_PATH}" "${VTR_REG_DIR}")
1258-
/usr/bin/env perl run_reg_test.py -j "${_NUMBER_OF_PROCESS}" "${RELATIVE_PATH_TO_TEST}"
1258+
/usr/bin/env perl run_reg_test.py -j "${_NUMBER_OF_PROCESS}" $(dirname ${RELATIVE_PATH_TO_TEST})
12591259
popd &> /dev/null
12601260
}
12611261

@@ -1277,7 +1277,7 @@ function filter_vtr_test() {
12771277
pushd "${VTR_REG_DIR}" &> /dev/null
12781278
for test in $(cat "${VTR_TASK_PATH}")
12791279
do
1280-
if grep -E "circuit_list_add=.*\.v" "${test/regression_tests\//}/config/config.txt" &> "/dev/null"
1280+
if grep -E "circuit_list_add=.*\.v" "${VTR_REG_DIR/regression_tests}${test}/config/config.txt" &> "/dev/null"
12811281
then
12821282
echo $test >> "${FILTERED_VTR_TASK_PATH}";
12831283
fi

0 commit comments

Comments
 (0)