main shinobi / tests / mk / gnu / options / dash-I / t005 / test.json
 1{
 2  "case": "t005",
 3  "category": "options/dash-I",
 4  "compare_output": true,
 5  "description": "The following test creates a makefile to test the -I option.",
 6  "details": "\nThis test tests the -I option by including a filename in\nanother directory and giving make that directory name\nunder -I in the command line.  Without this option, the make\nwould fail to find the included file.  It also checks to make\nsure that the -I option gets passed to recursive makes.",
 7  "env": {},
 8  "expected_exit": 512,
 9  "options": "-I idir -I- all",
10  "options_mode": "shell",
11  "output_mode": "exact",
12  "setup": [
13    {
14      "kind": "dir",
15      "mode": "0755",
16      "mtime": 1778707218,
17      "path": "idir"
18    },
19    {
20      "content": "\nANOTHER:\n\t@echo This is another included makefile\nrecurse:\n\t@$(MAKE) ANOTHER -f $(main_makefile)\n",
21      "kind": "file",
22      "mode": "0644",
23      "mtime": 1778707218,
24      "path": "idir/ifile.mk"
25    }
26  ],
27  "source_script": "options/dash-I",
28  "stdin": "",
29  "suite": "gnu",
30  "timeout_seconds": 60
31}