diff --git a/tests/builder.nix b/tests/builder.nix index 8ab89053d..30c8c83b9 100644 --- a/tests/builder.nix +++ b/tests/builder.nix @@ -51,7 +51,11 @@ let mkdir -p $out/bin cp ${pname}.elf $out/bin - cp ${pname}.cover $out + if [ -f ${pname}.cover ]; then + cp ${pname}.cover $out/ + else + echo "-assert *" > $out/${pname}.cover + fi ${jqBin} --null-input \ --arg name ${pname} \