| 12345678910111213 |
- import { spawnSync } from 'node:child_process'
- const files = [
- 't50-pipe-detail.mjs', 't51-neighborhood.mjs', 't52-device-source.mjs',
- 't52-device-plan.mjs', 't52-device-pick.mjs', 't53-manhole.mjs',
- 't23-threejs-enhancement.mjs', 't23-visual-input.mjs', 't23-click-flow.mjs',
- 't23-sfc-compile.mjs', 't23-popup-placement.mjs', 't22-pipeline-rendering.mjs',
- ]
- for (const file of files) {
- const result = spawnSync(process.execPath, [new URL(file, import.meta.url).pathname.replace(/^\/([A-Za-z]:)/, '$1')], { stdio: 'inherit' })
- if (result.error) throw result.error
- if (result.status !== 0) process.exit(result.status || 1)
- }
- console.log(`Local enhancement regression scripts: ${files.length}/${files.length}`)
|