From 7087184b0fe764bea0fda59ee2478cf00e6de520 Mon Sep 17 00:00:00 2001 From: milahu Date: Wed, 9 Feb 2022 19:11:22 +0100 Subject: [PATCH] dont run postcompile_step when gen_cmd failed --- tools/reduce/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/reduce/src/main.rs b/tools/reduce/src/main.rs index 964b191e9..39de2c92b 100644 --- a/tools/reduce/src/main.rs +++ b/tools/reduce/src/main.rs @@ -415,7 +415,7 @@ fn create_interestingness_test( mv concat.h concat-body.h echo Codegen (echo \"#ifndef __CONCAT_H__\"; echo \"#define __CONCAT_H__\"; echo '#include \"concat-body.h\"'; echo \"#endif\") > concat.h - ({} {} 2>&1 && cat gen.complete.rs && cat autocxxgen*.h ; {} 2>&1 ) | grep \"{}\" >/dev/null 2>&1 + ({} {} 2>&1 && cat gen.complete.rs && cat autocxxgen*.h && {} 2>&1 ) | grep \"{}\" >/dev/null 2>&1 echo Remove rm concat.h echo Swap back