main shrub/shinobi / tests / mk / shin / suffixrules / t002 / test.json
 1{
 2  "case": "t002",
 3  "category": "suffixrules",
 4  "compare_output": true,
 5  "description": ".POSIX changes some GNU defaults without disabling GNU implicit pattern rules",
 6  "details": "In GNU mode, .POSIX selects c99 and -O1 while an explicitly listed object prereq makes the built-in .o pattern link rule viable",
 7  "env": {},
 8  "expected_exit": 0,
 9  "options": "-n wawa",
10  "options_mode": "shell",
11  "output_mode": "exact",
12  "setup": [
13    {
14      "content": "int main(void) { return 0; }\n",
15      "kind": "file",
16      "mode": "0644",
17      "mtime": 1778707209,
18      "path": "wawa.c"
19    },
20    {
21      "content": "int protocol;\n",
22      "kind": "file",
23      "mode": "0644",
24      "mtime": 1778707209,
25      "path": "protocol.c"
26    }
27  ],
28  "stdin": "",
29  "suite": "shin",
30  "timeout_seconds": 60
31}