Skip to content

Commit bd7c023

Browse files
committed
Added markers for the vllm and fixed bug for juniparser
Signed-off-by: Amit Raj <[email protected]>
1 parent 8966c17 commit bd7c023

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

scripts/Jenkinsfile

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ pipeline {
4141
mkdir -p $PWD/Non_cli_qaic &&
4242
export TOKENIZERS_PARALLELISM=false &&
4343
export QEFF_HOME=$PWD/Non_cli_qaic &&
44-
pytest tests -m '(not cli) and (not on_qaic)' --ignore tests/vllm -n auto --junitxml=tests/tests_log1.xml &&
44+
pytest tests -m '(not cli) and (not on_qaic) and (not vllm)' -n auto --junitxml=tests/tests_log1.xml &&
45+
junitparser merge tests/tests_log1.xml tests/tests_log.xml &&
4546
deactivate"
4647
'''
4748
}
@@ -57,7 +58,8 @@ pipeline {
5758
mkdir -p $PWD/Non_qaic &&
5859
export TOKENIZERS_PARALLELISM=false &&
5960
export QEFF_HOME=$PWD/Non_qaic &&
60-
pytest tests -m '(not cli) and (on_qaic) and (not qnn)' --ignore tests/vllm -n 4 --junitxml=tests/tests_log2.xml &&
61+
pytest tests -m '(not cli) and (on_qaic) and (not qnn) and (not vllm)' -n 4 --junitxml=tests/tests_log2.xml &&
62+
junitparser merge tests/tests_log2.xml tests/tests_log.xml &&
6163
deactivate"
6264
'''
6365
}
@@ -77,7 +79,8 @@ pipeline {
7779
mkdir -p $PWD/cli &&
7880
export TOKENIZERS_PARALLELISM=false &&
7981
export QEFF_HOME=$PWD/cli &&
80-
pytest tests -m '(cli and not qnn)' --ignore tests/vllm --junitxml=tests/tests_log3.xml &&
82+
pytest tests -m '(cli) and (not qnn) and (not vllm)' --junitxml=tests/tests_log3.xml &&
83+
junitparser merge tests/tests_log3.xml tests/tests_log.xml &&
8184
deactivate"
8285
'''
8386
}
@@ -105,7 +108,8 @@ pipeline {
105108
mkdir -p $PWD/Qnn_cli &&
106109
export TOKENIZERS_PARALLELISM=false &&
107110
export QEFF_HOME=$PWD/Qnn_cli &&
108-
pytest tests -m '(cli and qnn)' --ignore tests/vllm --junitxml=tests/tests_log4.xml &&
111+
pytest tests -m '(cli and qnn)' and (not vllm) --junitxml=tests/tests_log4.xml &&
112+
junitparser merge tests/tests_log4.xml tests/tests_log.xml &&
109113
deactivate"
110114
'''
111115
}
@@ -123,8 +127,8 @@ pipeline {
123127
mkdir -p $PWD/Qnn_non_cli &&
124128
export TOKENIZERS_PARALLELISM=false &&
125129
export QEFF_HOME=$PWD/Qnn_non_cli &&
126-
pytest tests -m '(not cli) and (qnn) and (on_qaic)' --ignore tests/vllm --junitxml=tests/tests_log5.xml &&
127-
junitparser merge tests/tests_log1.xml tests/tests_log2.xml tests/tests_log3.xml tests/tests_log4.xml tests/tests_log5.xml tests/tests_log.xml &&
130+
pytest tests -m '(not cli) and (qnn) and (on_qaic)' and (not vllm) --junitxml=tests/tests_log5.xml &&
131+
junitparser merge tests/tests_log5.xml tests/tests_log.xml &&
128132
deactivate"
129133
'''
130134
}

0 commit comments

Comments
 (0)