File: run-tests.bat

package info (click to toggle)
cpptraj 5.1.0%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 139,188 kB
  • sloc: cpp: 145,622; ansic: 34,635; sh: 11,365; f90: 971; makefile: 770; awk: 242
file content (22 lines) | stat: -rw-r--r-- 514 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@echo on

set CPPTRAJ_TEST_OS=windows

rem debugging: print library dependencies of cpptraj
dumpbin /dependents bin/cpptraj.exe

if %BUILD_TYPE% equ cmake-vs (
	rem make sure MSYS's sh inherits our full path
	rem (from https://github.com/cisco/ChezScheme/issues/19 )
	rem set MSYS2_PATH_TYPE=inherit
	
	rem set "PATH=%cd%\bin;%PATH%"
	
	rem cd C:/msys64/usr/bin
	
	rem cpptraj --version
	rem sh -lc "cd /c/projects/cpptraj/test; make test.showerrors"
	
) else (
	sh -lc "cd test; make test.showerrors" || exit /b
)