pvjohnson / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

fix MSVS generator and/or test infrastructure for test\rules-rebuild #120

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
test\rules-rebuild\gyptest-*.py verifies that rules rebuild correctly when 
inputs change.  The 
tests fail for the MSVS generator; example error output appended below.

Issue 94 was tracking a problem with this behavior in Xcode.  So that TVL can 
check in that fix, 
I'm landing the CL that adds test\rules-rebuild, but skipping it for msvs with 
a TODO on this 
issue.

Error output:

PYTHONPATH=Z:\sgk\src\gyp0\trunk\test\lib
TESTGYP_FORMAT=msvs
C:\Python26\python.exe test\rules-rebuild\gyptest-all.py
None returned 1
STDOUT 
===========================================================
==============

Microsoft (R) Visual Studio Version 9.0.30729.1.
Copyright (C) Microsoft Corp. All rights reserved.
1>------ Build started: Project: program, Configuration: Default Win32 ------
1>Running 
"c:\Users\sgk\AppData\Local\Temp\testcmd.10144.zbvh9q\relocate\src\.\setup_env.b
at" && 
set CYGWIN=nontsec&& set /a 
NUMBER_OF_PROCESSORS_PLUS_1=%NUMBER_OF_PROCESSORS%+1&& set 
INTDIR=Default\obj\program&& set 
OUTDIR=C:\Users\sgk\AppData\Local\Temp\testcmd.10144.zbvh9q\relocate\src\Default
&& 
bash -c "\"make\" \"OutDir=`cygpath -m \"${OUTDIR}\"`\" \"IntDir=`cygpath -m 
\"${INTDIR}\"`\" \"-j\" \"${NUMBER_OF_PROCESSORS_PLUS_1}\" \"-f\" 
\"program_rules.mk\""
1>'"c:\Users\sgk\AppData\Local\Temp\testcmd.10144.zbvh9q\relocate\src\.\setup_en
v.bat"' is 
not recognized as an internal or external command,
1>operable program or batch file.
1>Project : error PRJ0019: A tool returned an error code from "Running 
"c:\Users\sgk\AppData\Local\Temp\testcmd.10144.zbvh9q\relocate\src\.\setup_env.b
at" && 
set CYGWIN=nontsec&& set /a NUMBER_OF_PROCESSORS_PLUS_1=16+1&& set 
INTDIR=Default\obj\program&& set 
OUTDIR=C:\Users\sgk\AppData\Local\Temp\testcmd.10144.zbvh9q\relocate\src\Default
&& 
bash -c "\"make\" \"OutDir=`cygpath -m \"${OUTDIR}\"`\" \"IntDir=`cygpath -m 
\"${INTDIR}\"`\" \"-j\" \"${NUMBER_OF_PROCESSORS_PLUS_1}\" \"-f\" 
\"program_rules.mk\"""
1>Build log was saved at 
"file://c:\Users\sgk\AppData\Local\Temp\testcmd.10144.zbvh9q\relocate\src\Defaul
t\obj\pro
gram\BuildLog.htm"
1>program - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

STDERR 
===========================================================
==============

Original issue reported on code.google.com by sgk@chromium.org on 23 Nov 2009 at 11:07