dmlc--dgl
5561af4517
* PR3355 + CSR conversion workaround * Remove debug code * Fix convention errors * Remove wrongly added code section during merge * Update to reflect dataloading changes * Fix missing changes * Remove comment * Fix linter errors * Fix trailing whitespace * Add wrapper around worker init function Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
22 行
527 B
Batchfile
22 行
527 B
Batchfile
@ECHO OFF
|
|
SETLOCAL EnableDelayedExpansion
|
|
|
|
IF x%1x==xx (
|
|
ECHO Specify backend
|
|
EXIT /B 1
|
|
) ELSE (
|
|
SET BACKEND=%1
|
|
)
|
|
CALL workon %BUILD_TAG%
|
|
|
|
SET PYTHONPATH=tests;!CD!\python;!PYTHONPATH!
|
|
SET DGLBACKEND=!BACKEND!
|
|
SET DGL_LIBRARY_PATH=!CD!\build
|
|
SET DGL_DOWNLOAD_DIR=!CD!
|
|
|
|
python -m pip install pytest psutil pyyaml pandas pydantic rdflib || EXIT /B 1
|
|
python -m pytest -v --junitxml=pytest_backend.xml tests\!DGLBACKEND! || EXIT /B 1
|
|
python -m pytest -v --junitxml=pytest_compute.xml tests\compute || EXIT /B 1
|
|
ENDLOCAL
|
|
EXIT /B
|