From: Daniel Dunbar Date: Thu, 22 Jul 2010 00:40:19 +0000 (+0000) Subject: lit: Add some example tests for previous commit. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2d4590d6fbb21911e7bff8a4f1bdddd76edbebe0;p=oota-llvm.git lit: Add some example tests for previous commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109071 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/lit/lit/ExampleTests/required-and-missing.c b/utils/lit/lit/ExampleTests/required-and-missing.c new file mode 100644 index 00000000000..47ba72e4a31 --- /dev/null +++ b/utils/lit/lit/ExampleTests/required-and-missing.c @@ -0,0 +1,4 @@ +// This test shouldn't be run, the required feature is missing. +// +// RUN: false +// REQUIRES: some-missing-feature-name diff --git a/utils/lit/lit/ExampleTests/required-and-present.c b/utils/lit/lit/ExampleTests/required-and-present.c new file mode 100644 index 00000000000..2a09e08e5ae --- /dev/null +++ b/utils/lit/lit/ExampleTests/required-and-present.c @@ -0,0 +1,2 @@ +// RUN: true +// REQUIRES: some-feature-name