main shinobi / tests / mk / gnu / options / dash-C / t004 / test.json
 1{
 2  "case": "t004",
 3  "category": "options/dash-C",
 4  "compare_output": true,
 5  "description": "Test the -C option to GNU Make.",
 6  "details": "",
 7  "env": {},
 8  "expected_exit": 0,
 9  "options": "-C src -I ../inc --no-print-directory file=test",
10  "options_mode": "shell",
11  "output_mode": "exact",
12  "setup": [
13    {
14      "kind": "dir",
15      "mode": "0755",
16      "mtime": 1778707218,
17      "path": "inc"
18    },
19    {
20      "content": "$(info included)",
21      "kind": "file",
22      "mode": "0644",
23      "mtime": 1778707218,
24      "path": "inc/test"
25    },
26    {
27      "kind": "dir",
28      "mode": "0755",
29      "mtime": 1778707218,
30      "path": "src"
31    },
32    {
33      "content": "include $(file)\nall: ;\n",
34      "kind": "file",
35      "mode": "0644",
36      "mtime": 1778707218,
37      "path": "src/Makefile"
38    },
39    {
40      "content": "# this file was generated from a makefile by shinobi\nbuild all: phony\n\ndefault all\n",
41      "kind": "file",
42      "mode": "0644",
43      "mtime": 1778707218,
44      "path": "src/build.ninja"
45    }
46  ],
47  "source_script": "options/dash-C",
48  "stdin": "",
49  "suite": "gnu",
50  "timeout_seconds": 60
51}