summaryrefslogtreecommitdiffstats
path: root/test/CC/CC-fixture
Commit message (Collapse)AuthorAgeFilesLines
* A bit more test fixture workMats Wichmann2022-01-191-6/+6
| | | | | | | | | | | | mylex.py is now a general fixture Some of the existing fixtures had a bit more cleanup. the unneeded mylink_win32.py is dropped (only referenced by a test which already skips on win32, and the general mylink.py covers the win32 case anyway). Signed-off-by: Mats Wichmann <mats@linux.com>
* Also move CC and CXX mock compiler to fixtureMats Wichmann2022-01-182-0/+56
| | | | | | | | | CC/CC.py uses a local mycc.py and CXX/CXX.py uses a local myc++.py. These could not be replaced by mycompile.py because theu usage model is different, but these two are moved to a local (to the test) fixture directory instead of being inline. Signed-off-by: Mats Wichmann <mats@linux.com>
* Massage test fixtures a bitMats Wichmann2022-01-172-2/+2
| | | | | | | | | | | | | | | | | | To avoid double loops, a couple now use fileinput module. CC and CXX tests switch to using general mylink.py fixture instead of locally defined linker script. This did mean that the marker for the mock linker that the script removes had to be harmonized as #link - some were using /*link*/. Could not switch CC/CXX to use the general mycompile.py mock compiler due to difference in intent: mycompile.py is intended to plug in as a *COM variable, which means the whole cmdline is in the caller's control. mycc.py is intended to plug in as CC and mycxx.py as CXX, which means standard os-dependent construction vars will be passed via the default CCCOM and CXXCOM and have to be handled. Signed-off-by: Mats Wichmann <mats@linux.com>
* Fixed difference in types MethodType argument list between 2/3 which allowed ↵William Blevins2016-09-214-0/+26
finishing CC folder.