1{
2 "case": "t001",
3 "category": "options/dash-l",
4 "compare_output": true,
5 "description": "Test load balancing (-l) option.",
6 "details": "\nThis test creates a makefile where all depends on three rules\nwhich contain the same body. Each rule checks for the existence\nof a temporary file; if it exists an error is generated. If it\ndoesn't exist then it is created, the rule sleeps, then deletes\nthe temp file again. Thus if any of the rules are run in\nparallel the test will fail. When make is called in this test,\nit is given the -l option with a value of 0.0001. This ensures\nthat the load will be above this number and make will therefore\ndecide that it cannot run more than one job even though -j 4 was\nalso specified on the command line.",
7 "env": {},
8 "expected_exit": 0,
9 "options": "-l 0.0001 -j 4",
10 "options_mode": "shell",
11 "output_mode": "exact",
12 "setup": [],
13 "source_script": "options/dash-l",
14 "stdin": "",
15 "suite": "gnu",
16 "timeout_seconds": 10
17}