echo"This patch does not include a Behat test!\n... but the patch is marked with \"$BEHATNOTNEEDED\", so we will continue.\n";
}
else{
gerrit_comment(
"This patch does not include a Behat test (an automated test plan).\n\n"
."Please write a Behat test for it, or, if it cannot be tested in Behat or is covered by existing tests, put \"$BEHATNOTNEEDED\" in its commit message."
);
exit(1);
}
}
echo"\n";
echo"########## Build & Minify CSS\n";
echo"\n";
passthru('make clean-css');
passthru_or_die(
'make',
"This patch encountered an error while attempting to build its CSS.\n\n"
echo"This patch does not include a Behat test!\n... but the patch is marked with \"$BEHATNOTNEEDED\", so we will continue.\n";
}
else{
gerrit_comment(
"This patch does not include a Behat test (an automated test plan).\n\n"
."Please write a Behat test for it, or, if it cannot be tested in Behat or is covered by existing tests, put \"$BEHATNOTNEEDED\" in its commit message."
);
exit(1);
}
}
echo"\n";
echo"########## Build & Minify CSS\n";
echo"\n";
passthru('make clean-css');
passthru_or_die(
'make',
"This patch encountered an error while attempting to build its CSS.\n\n"