VirtualBox

source: kBuild/vendor/gnumake/current/tests/scripts/features/quoting@ 486

最後變更 在這個檔案從486是 53,由 bird 提交於 21 年 前

Initial revision

  • 屬性 svn:eol-style 設為 native
檔案大小: 714 位元組
 
1# -*-perl-*-
2
3$description = "The following test creates a makefile to test using \n" .
4 "quotes within makefiles.";
5
6open(MAKEFILE,"> $makefile");
7
8# The Contents of the MAKEFILE ...
9
10print MAKEFILE <<'EOM';
11SHELL = /bin/sh
12TEXFONTS = NICEFONT
13DEFINES = -DDEFAULT_TFM_PATH=\".:$(TEXFONTS)\"
14test: ; @"echo" 'DEFINES = $(DEFINES)'
15EOM
16
17# END of Contents of MAKEFILE
18
19close(MAKEFILE);
20
21
22&run_make_with_options($makefile,"",&get_logfile);
23
24
25# Create the answer to what should be produced by this Makefile
26$answer = 'DEFINES = -DDEFAULT_TFM_PATH=\".:NICEFONT\"' . "\n";
27
28# COMPARE RESULTS
29
30&compare_output($answer,&get_logfile(1));
31
321;
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette