Skip to content

Commit

Permalink
Research for SCons issue 4656: SCons/scons#4656
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbrill committed Jan 28, 2025
1 parent 7233b0a commit b28fae5
Show file tree
Hide file tree
Showing 144 changed files with 8,190 additions and 0 deletions.
196 changes: 196 additions & 0 deletions scons/scons-issue-4656/output/win-output-comment-tests.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@

++++++ GCCProcessorScanner:beg ++++++

--- scons:deps:beg ---
main.c GCC C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE -fsyntax-only -E -dI -w S:\SCons\Test-4656\tests\CommentTest\main.c
GCCPreProcessorScanner main.c result: ['active\\comment3.h', 'active\\comment4.h']
GCCPreProcessorScanner main.c expect: ['active\\comment3.h', 'active\\comment4.h']
GCCPreProcessorScanner main.c: dependencies match
scons: `.' is up to date.
--- scons:deps:end ---

--- scons:build:beg ---
main.c GCC C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE -fsyntax-only -E -dI -w S:\SCons\Test-4656\tests\CommentTest\main.c
gcc -o main.o -c main.c
gcc -o main.exe main.o
+-.
+-active
| +-active\comment3.h
| +-active\comment4.h
+-main.c
+-main.exe
| +-main.o
| | +-main.c
| | +-active\comment3.h
| | +-active\comment4.h
| | +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-main.o
| +-main.c
| +-active\comment3.h
| +-active\comment4.h
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-SConstruct
--- scons:build:end ---

--- scons:clean:beg ---
main.c GCC C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE -fsyntax-only -E -dI -w S:\SCons\Test-4656\tests\CommentTest\main.c
Removed main.o
Removed main.exe
--- scons:clean:end ---

++++++ GCCProcessorScanner:end ++++++

++++++ MSVCProcessorScanner:beg ++++++

--- scons:deps:beg ---
main.c MSVC C:\Software\MSVS-2022-143-Com\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\cl.EXE /nologo /E /w S:\SCons\Test-4656\tests\CommentTest\main.c
MSVCPreProcessorScanner main.c result: ['active\\comment3.h', 'active\\comment4.h']
MSVCPreProcessorScanner main.c expect: ['active\\comment3.h', 'active\\comment4.h']
MSVCPreProcessorScanner main.c: dependencies match
scons: `.' is up to date.
--- scons:deps:end ---

--- scons:build:beg ---
main.c MSVC C:\Software\MSVS-2022-143-Com\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\cl.EXE /nologo /E /w S:\SCons\Test-4656\tests\CommentTest\main.c
cl /Fomain.obj /c main.c /nologo
link /nologo /OUT:main.exe main.obj
+-.
+-active
| +-active\comment3.h
| +-active\comment4.h
+-main.c
+-main.exe
| +-main.obj
| | +-main.c
| | +-active\comment3.h
| | +-active\comment4.h
| | +-C:\Software\MSVS-2022-143-Com\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\cl.EXE
| +-C:\Software\MSVS-2022-143-Com\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\link.EXE
+-main.obj
| +-main.c
| +-active\comment3.h
| +-active\comment4.h
| +-C:\Software\MSVS-2022-143-Com\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\cl.EXE
+-SConstruct
--- scons:build:end ---

--- scons:clean:beg ---
main.c MSVC C:\Software\MSVS-2022-143-Com\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\cl.EXE /nologo /E /w S:\SCons\Test-4656\tests\CommentTest\main.c
Removed main.obj
Removed main.exe
--- scons:clean:end ---

++++++ MSVCProcessorScanner:end ++++++

++++++ CConditionalModScanner:beg ++++++

--- scons:deps:beg ---
CConditionalModScanner main.c result: ['active\\comment3.h', 'active\\comment4.h']
CConditionalModScanner main.c expect: ['active\\comment3.h', 'active\\comment4.h']
CConditionalModScanner main.c: dependencies match
scons: `.' is up to date.
--- scons:deps:end ---

--- scons:build:beg ---
gcc -o main.o -c main.c
gcc -o main.exe main.o
+-.
+-active
| +-active\comment3.h
| +-active\comment4.h
+-main.c
+-main.exe
| +-main.o
| | +-main.c
| | +-active\comment3.h
| | +-active\comment4.h
| | +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-main.o
| +-main.c
| +-active\comment3.h
| +-active\comment4.h
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-SConstruct
--- scons:build:end ---

--- scons:clean:beg ---
Removed main.o
Removed main.exe
--- scons:clean:end ---

++++++ CConditionalModScanner:end ++++++

++++++ CConditionalScanner:beg ++++++

--- scons:deps:beg ---
CConditionalScanner main.c result: ['inactive\\comment2.h']
CConditionalScanner main.c expect: ['active\\comment3.h', 'active\\comment4.h']
CConditionalScanner main.c: !!! DEPENDENCIES DO NOT MATCH !!!
scons: `.' is up to date.
--- scons:deps:end ---

--- scons:build:beg ---
gcc -o main.o -c main.c
gcc -o main.exe main.o
+-.
+-inactive
| +-inactive\comment2.h
+-main.c
+-main.exe
| +-main.o
| | +-main.c
| | +-inactive\comment2.h
| | +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-main.o
| +-main.c
| +-inactive\comment2.h
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-SConstruct
--- scons:build:end ---

--- scons:clean:beg ---
Removed main.o
Removed main.exe
--- scons:clean:end ---

++++++ CConditionalScanner:end ++++++

++++++ CScanner:beg ++++++

--- scons:deps:beg ---
CScanner main.c result: ['inactive\\comment2.h']
CScanner main.c expect: ['active\\comment3.h', 'active\\comment4.h']
CScanner main.c: !!! DEPENDENCIES DO NOT MATCH !!!
scons: `.' is up to date.
--- scons:deps:end ---

--- scons:build:beg ---
gcc -o main.o -c main.c
gcc -o main.exe main.o
+-.
+-inactive
| +-inactive\comment2.h
+-main.c
+-main.exe
| +-main.o
| | +-main.c
| | +-inactive\comment2.h
| | +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-main.o
| +-main.c
| +-inactive\comment2.h
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-SConstruct
--- scons:build:end ---

--- scons:clean:beg ---
Removed main.o
Removed main.exe
--- scons:clean:end ---

++++++ CScanner:end ++++++

193 changes: 193 additions & 0 deletions scons/scons-issue-4656/output/win-output-incsyspath-tests.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@

++++++ GCCProcessorScanner:beg ++++++

--- scons:deps:beg ---
main.c GCC C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE -fsyntax-only -E -dI -w S:\SCons\Test-4656\tests\IncSysPathTest\main.c
GCCPreProcessorScanner main.c result: ['include\\syspath1.h']
GCCPreProcessorScanner main.c expect: ['include\\syspath1.h']
GCCPreProcessorScanner main.c: dependencies match
scons: `.' is up to date.
--- scons:deps:end ---

--- scons:build:beg ---
main.c GCC C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE -fsyntax-only -E -dI -w S:\SCons\Test-4656\tests\IncSysPathTest\main.c
gcc -o main.o -c main.c
gcc -o main.exe main.o
+-.
+-include
| +-include\syspath1.h
+-main.c
+-main.exe
| +-main.o
| | +-main.c
| | +-include\syspath1.h
| | +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-main.o
| +-main.c
| +-include\syspath1.h
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-SConstruct
--- scons:build:end ---

--- scons:clean:beg ---
main.c GCC C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE -fsyntax-only -E -dI -w S:\SCons\Test-4656\tests\IncSysPathTest\main.c
Removed main.o
Removed main.exe
--- scons:clean:end ---

++++++ GCCProcessorScanner:end ++++++

++++++ MSVCProcessorScanner:beg ++++++

--- scons:deps:beg ---
main.c MSVC C:\Software\MSVS-2022-143-Com\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\cl.EXE /nologo /E /w S:\SCons\Test-4656\tests\IncSysPathTest\main.c
MSVCPreProcessorScanner main.c result: ['include\\syspath1.h']
MSVCPreProcessorScanner main.c expect: ['include\\syspath1.h']
MSVCPreProcessorScanner main.c: dependencies match
scons: `.' is up to date.
--- scons:deps:end ---

--- scons:build:beg ---
main.c MSVC C:\Software\MSVS-2022-143-Com\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\cl.EXE /nologo /E /w S:\SCons\Test-4656\tests\IncSysPathTest\main.c
cl /Fomain.obj /c main.c /nologo
link /nologo /OUT:main.exe main.obj
+-.
+-include
| +-include\syspath1.h
+-main.c
+-main.exe
| +-main.obj
| | +-main.c
| | +-include\syspath1.h
| | +-C:\Software\MSVS-2022-143-Com\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\cl.EXE
| +-C:\Software\MSVS-2022-143-Com\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\link.EXE
+-main.obj
| +-main.c
| +-include\syspath1.h
| +-C:\Software\MSVS-2022-143-Com\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\cl.EXE
+-SConstruct
--- scons:build:end ---

--- scons:clean:beg ---
main.c MSVC C:\Software\MSVS-2022-143-Com\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\cl.EXE /nologo /E /w S:\SCons\Test-4656\tests\IncSysPathTest\main.c
Removed main.obj
Removed main.exe
--- scons:clean:end ---

++++++ MSVCProcessorScanner:end ++++++

++++++ CConditionalModScanner:beg ++++++

--- scons:deps:beg ---
CConditionalModScanner main.c result: ['include\\syspath1.h']
CConditionalModScanner main.c expect: ['include\\syspath1.h']
CConditionalModScanner main.c: dependencies match
scons: `.' is up to date.
--- scons:deps:end ---

--- scons:build:beg ---
gcc -o main.o -c main.c
gcc -o main.exe main.o
+-.
+-include
| +-include\syspath1.h
+-main.c
+-main.exe
| +-main.o
| | +-main.c
| | +-include\syspath1.h
| | +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-main.o
| +-main.c
| +-include\syspath1.h
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-SConstruct
--- scons:build:end ---

--- scons:clean:beg ---
Removed main.o
Removed main.exe
--- scons:clean:end ---

++++++ CConditionalModScanner:end ++++++

++++++ CConditionalScanner:beg ++++++

--- scons:deps:beg ---
CConditionalScanner main.c result: ['include\\syspath1.h', 'include\\limits.h']
CConditionalScanner main.c expect: ['include\\syspath1.h']
CConditionalScanner main.c: !!! DEPENDENCIES DO NOT MATCH !!!
scons: `.' is up to date.
--- scons:deps:end ---

--- scons:build:beg ---
gcc -o main.o -c main.c
gcc -o main.exe main.o
+-.
+-include
| +-include\limits.h
| +-include\syspath1.h
+-main.c
+-main.exe
| +-main.o
| | +-main.c
| | +-include\syspath1.h
| | +-include\limits.h
| | +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-main.o
| +-main.c
| +-include\syspath1.h
| +-include\limits.h
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-SConstruct
--- scons:build:end ---

--- scons:clean:beg ---
Removed main.o
Removed main.exe
--- scons:clean:end ---

++++++ CConditionalScanner:end ++++++

++++++ CScanner:beg ++++++

--- scons:deps:beg ---
CScanner main.c result: ['include\\syspath1.h', 'include\\limits.h']
CScanner main.c expect: ['include\\syspath1.h']
CScanner main.c: !!! DEPENDENCIES DO NOT MATCH !!!
scons: `.' is up to date.
--- scons:deps:end ---

--- scons:build:beg ---
gcc -o main.o -c main.c
gcc -o main.exe main.o
+-.
+-include
| +-include\limits.h
| +-include\syspath1.h
+-main.c
+-main.exe
| +-main.o
| | +-main.c
| | +-include\syspath1.h
| | +-include\limits.h
| | +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-main.o
| +-main.c
| +-include\syspath1.h
| +-include\limits.h
| +-C:\mingw-w64\x86_64-1120-win32-seh-rt_v9-rev0\mingw64\bin\gcc.EXE
+-SConstruct
--- scons:build:end ---

--- scons:clean:beg ---
Removed main.o
Removed main.exe
--- scons:clean:end ---

++++++ CScanner:end ++++++

Loading

0 comments on commit b28fae5

Please sign in to comment.