📄 general4
字号:
# -*-perl-*-$description = "\This tests random features of make's algorithms, often somewhat obscure,which have either broken at some point in the past or seem likely tobreak.";open(MAKEFILE,"> $makefile");# The contents of the Makefile ...print MAKEFILE <<'EOF';# Make sure that subdirectories built as prerequisites are actually handled# properly.all: dir/subdir/file.adir/subdir: ; @echo mkdir -p dir/subdirdir/subdir/file.b: dir/subdir ; @echo touch dir/subdir/file.bdir/subdir/%.a: dir/subdir/%.b ; @echo cp $< $@EOFclose(MAKEFILE);&run_make_with_options($makefile,"",&get_logfile);$answer = "mkdir -p dir/subdir\ntouch dir/subdir/file.b\ncp dir/subdir/file.b dir/subdir/file.a\n";&compare_output($answer,&get_logfile(1));1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -