Skip to content

Commit

Permalink
Merge pull request #783 from milahu/patch-3
Browse files Browse the repository at this point in the history
dont run postcompile_step when gen_cmd failed
  • Loading branch information
adetaylor authored Feb 9, 2022
2 parents 817bae1 + 7087184 commit 696fb14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/reduce/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 696fb14

Please sign in to comment.