forked from deeplearning4j/deeplearning4j
-
Notifications
You must be signed in to change notification settings - Fork 0
/
runWindowsTests.cmd
13 lines (13 loc) · 931 Bytes
/
runWindowsTests.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
@echo off
if not exist %cd%\tests mkdir tests
set currTime=%DATE:/=-%_%TIME::=-%
set outputFile=tests\nd4j-native_%currTime%.log
ECHO ***** Starting tests using nd4j-native backend, piping output to %outputFile% *****
call mvn clean site -Ddependency.locations.enabled=false -P test-nd4j-native -fn -pl !deeplearning4j-cuda > %cd%\%outputFile% 2>&1
ECHO ***** Constructing nd4j-native site at projectRootDirectory\tests\nd4j-native_DATE-TIME *****
call mvn site:stage -DstagingDirectory=%cd%\tests\nd4j-native_%currTime% -pl !deeplearning4j-cuda
ECHO ***** Starting tests using nd4j-cuda-8 backend *****
set outputFile=tests\nd4j-cuda-8_%currTime%.log
call mvn clean site -Ddependency.locations.enabled=false -P test-nd4j-cuda-8.0 -fn > %cd%\%outputFile% 2>&1
ECHO ***** Constructing nd4j-native site at projectRootDirectory\tests\nd4j-cuda-8_DATE-TIME *****
call mvn site:stage -DstagingDirectory=%cd%\tests\nd4j-cuda-8_%currTime%