From e124a9512d46cd7721228527249bff95955fbd32 Mon Sep 17 00:00:00 2001 From: shish Date: Sat, 18 Oct 2008 06:05:53 +0000 Subject: [PATCH] test from the command line git-svn-id: file:///home/shish/svn/shimmie2/trunk@1087 7f39781d-f577-437e-ae19-be835c7a54ca --- contrib/simpletest/standalone.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 contrib/simpletest/standalone.php diff --git a/contrib/simpletest/standalone.php b/contrib/simpletest/standalone.php new file mode 100644 index 00000000..92a90d20 --- /dev/null +++ b/contrib/simpletest/standalone.php @@ -0,0 +1,27 @@ +TestSuite('All tests'); + foreach(glob("ext/*/test.php") as $file) { + $this->addFile($file); + } + } +} + +$all = new AllTests(); +$all->run(new SectionReporter()); +?>