Skip to content

Commit a005320

Browse files
Test runners should not be activating oneAPI. More recent run-times are being installed into Python environment and should be used instead of those in the compiler installation
1 parent 8d76c22 commit a005320

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

conda-recipe/run_test.bat

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
call "%ONEAPI_ROOT%\compiler\latest\env\vars.bat"
2-
if errorlevel 1 (
3-
echo "oneAPI compiler activation failed%"
4-
exit /b 1
5-
)
6-
REM conda uses %ERRORLEVEL% but FPGA scripts can set it. So it should be reseted.
7-
set ERRORLEVEL=
8-
91
@echo on
102

113
"%PYTHON%" -c "import dpctl"

conda-recipe/run_test.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,5 @@
22

33
set -e
44

5-
# Suppress error b/c it could fail on Ubuntu 18.04
6-
source ${ONEAPI_ROOT}/compiler/latest/env/vars.sh || true
7-
85
${PYTHON} -c "import dpctl"
96
python -m pytest -q -ra --disable-warnings --cov dpctl --cov-report term-missing --pyargs dpctl -vv

0 commit comments

Comments
 (0)