⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dash-l

📁 make debug tool. You can use this tool to debug Makefile
💻
字号:
#                                                                    -*-perl-*-# Date: Tue, 11 Aug 1992 09:34:26 -0400# From: pds@lemming.webo.dg.com (Paul D. Smith)$description = "Test load balancing (-l) option.";$details = "\This test creates a makefile where all depends on three ruleswhich contain the same body.  Each rule checks for the existenceof a temporary file; if it exists an error is generated.  If itdoesn't exist then it is created, the rule sleeps, then deletesthe temp file again.  Thus if any of the rules are run inparallel the test will fail.  When make is called in this test,it is given the -l option with a value of 0.0001.  This ensuresthat the load will be above this number and make will thereforedecide that it cannot run more than one job even though -j 4 wasalso specified on the command line.rocky: Seems to fail intermitently - skipped for now.";# return -1 if !"";open(MAKEFILE,"> $makefile");# The Contents of the MAKEFILE ...print MAKEFILE <<'EOF';SHELL = /bin/shdefine testif [ ! -f test-file ]; then \  echo >> test-file; sleep 2; rm -f test-file; \else \  echo $@ FAILED; \fiendefall : ONE TWO THREEONE : ; @$(test)TWO : ; @$(test)THREE : ; @$(test)EOF# END of Contents of MAKEFILEclose(MAKEFILE);$mkoptions = "-l 0.0001";$mkoptions .= " -j 4" if ($parallel_jobs);&run_make_with_options($makefile, $mkoptions, &get_logfile);$slurp = &read_file_into_string (&get_logfile(1));if ($slurp !~ /cannot enforce load limit/) {  &compare_output("", &get_logfile(1));}1;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -