diff options
-rw-r--r-- | test/TARGETS | 10 | ||||
-rw-r--r-- | test/hello/TARGETS | 3 | ||||
-rw-r--r-- | test/proto/TARGETS | 3 | ||||
-rw-r--r-- | test/test_hello.sh | 5 | ||||
-rw-r--r-- | test/withExtendedPath/TARGETS | 3 |
5 files changed, 16 insertions, 8 deletions
diff --git a/test/TARGETS b/test/TARGETS new file mode 100644 index 0000000..54f7274 --- /dev/null +++ b/test/TARGETS @@ -0,0 +1,10 @@ +{ "": + { "type": "install" + , "tainted": ["test"] + , "dirs": + [ [["./", "hello", ""], "hello"] + , [["./", "proto", ""], "proto"] + , [["./", "withExtendedPath", ""], "withExtendedPath"] + ] + } +} diff --git a/test/hello/TARGETS b/test/hello/TARGETS index d01c382..9d16e07 100644 --- a/test/hello/TARGETS +++ b/test/hello/TARGETS @@ -1,4 +1,5 @@ -{ "": +{ "": {"type": "install", "tainted": ["test"], "deps": ["hello"]} +, "hello": { "type": ["@", "rules", "shell/test", "script"] , "name": ["hello"] , "test": ["test_hello.sh"] diff --git a/test/proto/TARGETS b/test/proto/TARGETS index 50d5195..d2e817e 100644 --- a/test/proto/TARGETS +++ b/test/proto/TARGETS @@ -1,4 +1,5 @@ -{ "": +{ "": {"type": "install", "tainted": ["test"], "deps": ["proto"]} +, "proto": { "type": ["@", "rules", "shell/test", "script"] , "name": ["proto"] , "test": ["test.sh"] diff --git a/test/test_hello.sh b/test/test_hello.sh deleted file mode 100644 index 08347e8..0000000 --- a/test/test_hello.sh +++ /dev/null @@ -1,5 +0,0 @@ -set -e - -./hello | grep -i world -./hello Universe | grep Universe -./hello Universe | grep -i world && exit 1 || : diff --git a/test/withExtendedPath/TARGETS b/test/withExtendedPath/TARGETS index 73a5a9e..e5e7ca0 100644 --- a/test/withExtendedPath/TARGETS +++ b/test/withExtendedPath/TARGETS @@ -1,4 +1,5 @@ -{"withExtendedPath": +{ "": {"type": "install", "tainted": ["test"], "deps": ["withExtendedPath"]} +, "withExtendedPath": { "type": ["@", "rules", "shell/test", "script"] , "name": ["find-in-extended-path"] , "test": ["test.sh"] |