Compiles a checker program. Handles both custom checkers and standard testlib checkers. Wrapper around compileCPP with consistent error handling.
Checker configuration
Path to compiled checker executable
If compilation fails
// Custom checkerconst path = await compileChecker({ name: 'checker', source: 'checker/Checker.cpp', isStandard: false }); Copy
// Custom checkerconst path = await compileChecker({ name: 'checker', source: 'checker/Checker.cpp', isStandard: false });
// Standard checkerconst path = await compileChecker({ name: 'wcmp', source: 'wcmp.cpp', isStandard: true }); Copy
// Standard checkerconst path = await compileChecker({ name: 'wcmp', source: 'wcmp.cpp', isStandard: true });
Compiles a checker program. Handles both custom checkers and standard testlib checkers. Wrapper around compileCPP with consistent error handling.