From: David Gibson Date: Sun, 18 Oct 2015 10:45:01 +0000 (+1100) Subject: Remove stale file ccan/priority_queue/test/run.c X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=3e7b9b500889882e5edde3d5b0b119cd9179cd58 Remove stale file ccan/priority_queue/test/run.c In commit 3782543 "order: Scalar comparison functions", I accidentally checked in a file which didn't belong with that commit, and was actually from a module I was experimenting with but wasn't ready to commit. This cleans up the bogus extra file. Signed-off-by: David Gibson --- diff --git a/ccan/priority_queue/test/run.c b/ccan/priority_queue/test/run.c deleted file mode 100644 index 6bc8e748..00000000 --- a/ccan/priority_queue/test/run.c +++ /dev/null @@ -1,24 +0,0 @@ -#include -#include - -int main(void) -{ - /* This is how many tests you plan to run */ - plan_tests(3); - - /* Simple thing we expect to succeed */ - ok1(some_test()) - /* Same, with an explicit description of the test. */ - ok(some_test(), "%s with no args should return 1", "some_test") - /* How to print out messages for debugging. */ - diag("Address of some_test is %p", &some_test) - /* Conditional tests must be explicitly skipped. */ -#if HAVE_SOME_FEATURE - ok1(test_some_feature()) -#else - skip(1, "Don't have SOME_FEATURE") -#endif - - /* This exits depending on whether all tests passed */ - return exit_status(); -}