main shinobi / tests / mk / gnu / options / dash-f / t019 / test.json
 1{
 2  "case": "t019",
 3  "category": "options/dash-f",
 4  "compare_output": true,
 5  "description": "The following test tests that if you specify greater \nthan one '-f makefilename' on the command line, \nthat make concatenates them.  This test creates three \nmakefiles and specifies all of them with the -f option \non the command line.  To make sure they were concatenated, \nwe then call make with the rules from the concatenated \nmakefiles one at a time.  Finally, it calls all three \nrules in one call to make and checks that the output\nis in the correct order.",
 6  "details": "",
 7  "env": {},
 8  "expected_exit": 512,
 9  "options": "-fbye.mk --file=- --makefile -",
10  "options_mode": "shell",
11  "output_mode": "exact",
12  "setup": [
13    {
14      "content": "def:; $(info bye, world)\nbye.mk: bye.mk.src; touch $@\nbye.mk.src:; touch $@\n\n",
15      "kind": "file",
16      "mode": "0644",
17      "mtime": 1778706619,
18      "path": "bye.mk"
19    },
20    {
21      "content": "all:; $(info hello, world)\n",
22      "kind": "file",
23      "mode": "0644",
24      "mtime": 1778707219,
25      "path": "hello.mk"
26    }
27  ],
28  "source_script": "options/dash-f",
29  "stdin": "all:; $(info hello, world)\n",
30  "suite": "gnu",
31  "timeout_seconds": 60
32}