summaryrefslogtreecommitdiff
path: root/test/build-script/pre-link-generic-testapp.bat
diff options
context:
space:
mode:
authorJason Maskell <[email protected]>2016-05-09 10:39:54 +0200
committerJason Maskell <[email protected]>2016-05-09 10:39:54 +0200
commit79b3462799c28af8ba586349bd671b1b56e72353 (patch)
tree3b06e36c390254c0dc7f3733a0d32af213d87293 /test/build-script/pre-link-generic-testapp.bat
downloadwaveworks_archive-79b3462799c28af8ba586349bd671b1b56e72353.tar.xz
waveworks_archive-79b3462799c28af8ba586349bd671b1b56e72353.zip
Initial commit with PS4 and XBone stuff trimmed.
Diffstat (limited to 'test/build-script/pre-link-generic-testapp.bat')
-rw-r--r--test/build-script/pre-link-generic-testapp.bat41
1 files changed, 41 insertions, 0 deletions
diff --git a/test/build-script/pre-link-generic-testapp.bat b/test/build-script/pre-link-generic-testapp.bat
new file mode 100644
index 0000000..bbae261
--- /dev/null
+++ b/test/build-script/pre-link-generic-testapp.bat
@@ -0,0 +1,41 @@
+@REM This code contains NVIDIA Confidential Information and is disclosed
+@REM under the Mutual Non-Disclosure Agreement.
+@REM
+@REM Notice
+@REM ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
+@REM NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
+@REM THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
+@REM MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
+@REM
+@REM NVIDIA Corporation assumes no responsibility for the consequences of use of such
+@REM information or for any infringement of patents or other rights of third parties that may
+@REM result from its use. No license is granted by implication or otherwise under any patent
+@REM or patent rights of NVIDIA Corporation. No third party distribution is allowed unless
+@REM expressly authorized by NVIDIA. Details are subject to change without notice.
+@REM This code supersedes and replaces all information previously supplied.
+@REM NVIDIA Corporation products are not authorized for use as critical
+@REM components in life support devices or systems without express written approval of
+@REM NVIDIA Corporation.
+@REM
+@REM Copyright � 2008- 2013 NVIDIA Corporation. All rights reserved.
+@REM
+@REM NVIDIA Corporation and its licensors retain all intellectual property and proprietary
+@REM rights in and to this software and related documentation and any modifications thereto.
+@REM Any use, reproduction, disclosure or distribution of this software and related
+@REM documentation without an express license agreement from NVIDIA Corporation is
+@REM strictly prohibited.
+
+:config
+@set PLATFORM=%1
+@set BUILDCONFIG=%2
+@set PLATFORMVARIATION=%3
+@set OUTROOT2RUNCMD=%4
+@set OUTROOT=%5
+@set IMGEXT=%6
+
+:output_test_bat
+@set OUTDIR=%OUTROOT%\%PLATFORM%\%BUILDCONFIG%
+@mkdir %OUTDIR%
+@set TESTBAT_FNAME=%OUTDIR%\%PLATFORMVARIATION%.bat
+@echo set IMGEXT=%IMGEXT% > %TESTBAT_FNAME%
+@echo %%~dp0\..\..\%OUTROOT2RUNCMD% -noaa -startframe 0 -endframe 50 - sliceframe 60 -readback 1 -quality 0 -screenshot %%IMG_OUT%%_%PLATFORMVARIATION%.%%IMGEXT%% >> %TESTBAT_FNAME%