simh-testsetgenerator/cmake
B. Scott Michel 191b2131e9 CMake: Make generate.py reusable
Make generate.py resuable outside of open-simh, as suggested and
motivated by Richard Cornwell's simulator repository.

- Make the "experimental" rule optional. Do not generate a Python
  "KeyError" if the rule is missing.

- Add documentation on how to use the CMake infrastructure outside
  of open-simh: Customize the packaging.py script, season to taste.

- Update the KA10 simulator customization, moving it to its own
  Python script, simgen/pdp10_simulator.py. Preparatory move that
  anticipates additional frontpanel and display options.

- generate.py option "--skip-orphans": Skip the orphaned simulator
  check (i.e., don't cross-reference the simulators in packaging.py
  with what was scraped from the makefile.)

- Add "TEST_ARGS" argument to CMake's add_simulator function so that the
  IBM 1130 simulator can pass to "-g" on the command line to disable the
  GUI when running RegisterSanityCheck, i.e.:

    ibm1130 RegisterSanityCheck -g

  This fixes an edge case Heisenbug encountered during Github CI/CD
  tests where ibm1130 appears to hang indefinitely on the Windows
  runners.

  The cause is the GUI's Pump() thread function being prematurely
  terminated before all GUI resources are acquired. The net result is an
  infinite loop in the MS C runtime trying to exit the process with
  unstable internal state. (Separate patch: synchronization across main
  and Pump() threads to ensure resource acquisition completes.)

  This issue never shows up on non-Windows platforms or the SIMH makefile.

- cmake/generator.py, cmake/simgen: Add a "test_args" keyword argument
  to the BasicSimulator constructor that holds the tests argument
  parameter emitted as the "TEST_ARGS" argument to a simulator's
  add_simulator(). Ensure that the IBM 1130 emits 'TEST_ARG "-g"' in its
  add_simulator().

- scp.c: reset_all_p() adds 'P' to the existing switches, versus saving
  sim_switches and ONLY setting the 'P' power-up reset switch. Net effect
  is that the IBM 1130 simulator actually sees the 'G' flag that inhibits
  the GUI during the console device reset.
2024-05-21 15:57:21 -04:00
..
installer-customizations CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
patches CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
simgen CMake: Make generate.py reusable 2024-05-21 15:57:21 -04:00
.gitignore CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
add_simulator.cmake CMake: Make generate.py reusable 2024-05-21 15:57:21 -04:00
build_dep_matrix.cmake CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
cmake-builder.ps1 CMake: Reduce excess quoting 2024-02-23 16:07:47 -05:00
cmake-builder.sh CMake: Updates 2024-02-01 12:51:13 -05:00
CMake-Maintainers.md CMake: Make generate.py reusable 2024-05-21 15:57:21 -04:00
cpack-setup.cmake CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
dep-link.cmake CMake: Updates 2024-02-01 12:51:13 -05:00
dep-locate.cmake appveyor.yml build, dep lib version number updates 2023-07-15 17:20:26 -04:00
diff-master.ps1 CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
file-link-copy.cmake CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
FindEDITLINE.cmake CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
FindPCAP.cmake CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
FindPCRE.cmake CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
FindPCRE2.cmake CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
FindPTW.cmake CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
FindVDE.cmake CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
fpintrin.cmake CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
generate.py CMake: Make generate.py reusable 2024-05-21 15:57:21 -04:00
git-commit-id.cmake CMake: Updates 2024-02-01 12:51:13 -05:00
GitHub-release.md CMake: Bump project version to 4.1.0 2023-07-31 13:04:33 -04:00
github_v141_xp.ps1 CMake: Win XP (v141_xp) VS install script 2023-10-24 12:46:51 -04:00
os-features.cmake CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
platform-quirks.cmake SCP: Reduce compiler warnings on LP64 platforms 2024-02-01 12:51:32 -05:00
pthreads-dep.cmake CMake: Updates 2024-02-01 12:51:13 -05:00
simh-packaging.cmake CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
simh-simulators.cmake CMake build infrastructure II (#53) 2023-05-17 20:18:42 -04:00
vcpkg-setup.cmake CMake: Updates 2024-02-01 12:51:13 -05:00