summaryrefslogtreecommitdiff
path: root/tests/test_cases/deps/TARGETS
blob: 0af783f7ecf9b56643d027f1068958d81fac2f13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{ "private":
  { "type": ["test_rules", "test_case"]
  , "name": ["deps_private"]
  , "targets":
    ["+foo", "-main_includes_foo", "+main_links_foo", "+main_links_bar_foo"]
  , "asserts":
    [ "test -f foo/foo/libfoo.a"
    , "test -f foo/foo/foo.hpp"
    , "! test -f foo/bar/bar.hpp"
    , "./main_links_foo/main | grep foo"
    , "./main_links_bar_foo/main | grep bar"
    , "./main_links_bar_foo/main | grep foo"
    ]
  , "data": [["TREE", null, "private"]]
  }
, "public":
  { "type": ["test_rules", "test_case"]
  , "name": ["deps_public"]
  , "targets":
    ["+foo", "+main_includes_foo", "+main_links_foo", "+main_links_bar_foo"]
  , "asserts":
    [ "test -f foo/foo/libfoo.a"
    , "test -f foo/foo/foo.hpp"
    , "! test -f foo/bar/bar.hpp"
    , "./main_includes_foo/main | grep main"
    , "./main_links_foo/main | grep foo"
    , "./main_links_bar_foo/main | grep bar"
    , "./main_links_bar_foo/main | grep foo"
    ]
  , "data": [["TREE", null, "public"]]
  }
, "shared":
  { "type": ["test_rules", "test_case"]
  , "name": ["deps_shared"]
  , "targets":
    [ "+foo"
    , "+bar"
    , "+main_uses_foo"
    , "+test_uses_foo"
    , "+main_uses_bar"
    , "+test_uses_bar"
    , "+test_uses_bar_s"
    , "+test_uses_baz"
    , "+test_uses_main"
    , "+test_diamond"
    ]
  , "asserts":
    [ "test -f foo/libfoo.so.1.2.3"
    , "test -f foo/foo/foo.hpp"
    , "test -f bar/libbar.so"
    , "test -f bar/bar/bar.hpp"
    , "! test -f bar/foo/foo.hpp"
    ]
  , "data": [["TREE", null, "shared"]]
  }
, "ALL":
  { "type": "install"
  , "deps": ["private", "public", "shared"]
  , "tainted": ["test"]
  }
}