Home - Trass3r/creduce GitHub Wiki
How to reduce a C++ test case:
perl creduce --n 8 test.bat t.cpp- just for reference:
dustmite --split *.{c,cpp,h,hpp}:d testdir ..\test.bat
example.bat:
@echo off
"C:\Program Files\LLVM\bin\clang.exe" -c t.cpp 2>&1 | "C:\Program Files\Git\usr\bin\grep.exe" -qF "Assertion failed"
exit /B %ERRORLEVEL%