pub fn test_php_scripts_with_condition(
exe_path: impl AsRef<Path>,
scripts: &[(&dyn AsRef<Path>, &dyn Fn(Output) -> bool)]
Check your extension by executing the php script, if the all your specified checkers are pass, than the test is pass.
exec_pathis the path of the make executable, which will be used to detect the path of extension lib.
scriptsis the slice of the tuple, format is
(path of your php test script, checker function or closure).