Changeset 3318 for trunk/src/kmk/testcase-includedep-esc.kmk
- Timestamp:
- Apr 1, 2020, 9:05:32 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/testcase-includedep-esc.kmk
r3316 r3318 24 24 # 25 25 26 all_recursive: 27 $(ECHO) "includedep works fine" 28 29 # Include before header to avoid secondary expansion in the noraml 30 # include scenario. 31 ifndef USE_NORMAL_INCLUDE 32 includedep testcase-includedep-esc-sub.kmk 33 else 34 include testcase-includedep-esc-sub.kmk 35 endif 36 37 # We need the header for variables for special characters. 26 38 DEPTH = ../.. 27 39 include $(PATH_KBUILD)/header.kmk 28 40 29 includedep testcase-includedep-esc-sub.kmk30 41 42 ifneq ("$(deps-all /phoney/file-with-two-spaces .c)","/phoney/header-file-with-two-spaces .h") 43 $(error /phoney/file-with-two-spaces .c: $(deps-all /phoney/file-with-two-spaces .c)) 44 endif 31 45 32 all_recursive: 33 $(ECHO) "includedep works fine $(deps-all /phoney/file-with-two-spaces .c)" 46 ifneq ("$(deps-all phoney space 1)","/phoney-dep space 1") 47 $(error phoney space 1: $(deps-all phoney space 1)) 48 endif 34 49 50 ifneq ("$(deps-all phoney colon: 2)","/phoney-dep colon: 2") 51 $(error phoney colon: 2: $(deps-all phoney colon: 2)) 52 endif 53 54 ifneq ("$(deps-all phoney hash$(HASH) 3)","/phoney-dep hash$(HASH) 3") 55 $(error phoney hash$(HASH) 3: $(deps-all phoney hash$(HASH) 3)) 56 endif 57 58 ifeq ("$(deps-all phoney dollar$$ 4)","$/phoney-dep dollar$(DOLLAR) 4") 59 $(error phoney dollar$$ 4: $(deps-all phoney dollar$$ 4)) 60 endif 61 62 ifneq ("$(deps-all phoney slash-space\ 5)","/phoney-dep slash-space\ 5") 63 $(error phoney slash-space\ 5: $(deps-all phoney slash-space\ 5)) 64 endif 65 66 ifneq ("$(deps-all phoney slash-hash\$(HASH) 6)","/phoney-dep slash-hash\$(HASH) 6") 67 $(error phoney slash-hash\$(HASH) 6: $(deps-all phoney slash-hash\$(HASH) 6)) 68 endif 69 70 ifneq ("$(deps-all phoney slash-slash-hash\\$(HASH) 7)","/phoney-dep slash-slash-hash\\$(HASH) 7") 71 $(error phoney slash-slash-hash\\$(HASH) 7: $(deps-all phoney slash-slash-hash\\$(HASH) 7)) 72 endif 73 74 ifneq ("$(deps-all phoney equal= 8)","/phoney-dep equal= 8") 75 $(error phoney equal= 8: $(deps-all phoney equal= 8)) 76 endif 77 78 ifneq ("$(deps-all phoney semI; 9)","/phoney-dep semi; 9") 79 $(error phoney semI; 9: $(deps-all phoney semI; 9)) 80 endif 81 82 ifneq ("$(deps-all phoney percent% 10)","/phoney-dep percent% 10") 83 $(error phoney percent% 10: $(deps-all phoney percent% 10)) 84 endif 85 86 ifneq ("$(deps-all phoney pipe| 11)","/phoney-dep pipe| 11") 87 $(error phoney pipe| 11: $(deps-all phoney pipe| 11)) 88 endif 89 90 ifneq ("$(deps-all phoney plus+ 12)","/phoney-dep plus+ 12") 91 $(error phoney plus+ 12: $(deps-all phoney plus+ 12)) 92 endif 93 94 ifneq ("$(deps-all phoney trailing-slash13\)","/phoney-dep trailing-slash13\") 95 $(error phoney trailing-slash13\: $(deps-all phoney trailing-slash13\)) 96 endif 97 98 ifneq ("$(deps-all phoney trailing-slash13b\)","/phoney-dep trailing-slash13b\") 99 $(error phoney trailing-slash13b\: $(deps-all phoney trailing-slash13b\)) 100 endif 101 102 ifneq ("$(deps-all phoney trailing-slash14\)","/phoney-dep trailing-slash14\ /phoney-dep-ignore") 103 $(error phoney trailing-slash14\: $(deps-all phoney trailing-slash14\)) 104 endif 105 106 ifneq ("$(deps-all phoney 15-trailing-space )","/phoney-dep 15-trailing-space /phoney-dep-ignore") 107 $(error phoney 15-trailing-space : $(deps-all phoney 15-trailing-space )) 108 endif 109 110 ifneq ("$(deps-all phoney 16-no-trailing-space\)","/phoney-dep 16-no-trailing-space\") 111 $(error phoney 16-no-trailing-space\: $(deps-all phoney 16-no-trailing-space\)) 112 endif 113 114 ifneq ("$(deps-all phoney 17-3x-escaped-newlines becomes-single-space)","/phoney-dep 17-3x-escaped-newlines becomes-single-space") 115 $(error phoney 17-3x-escaped-newlines becomes-single-space: $(deps-all phoney 17-3x-escaped-newlines becomes-single-space)) 116 endif 117 118 ifneq ("$(deps-all phoney 18-3x-escaped-trailing-spaces-no-newline \)","/phoney-dep 18-3x-escaped-trailing-spaces-no-newline \") 119 $(error phoney 18-3x-escaped-trailing-spaces-no-newline \: $(deps-all phoney 18-3x-escaped-trailing-spaces-no-newline \)) 120 endif 121 122 ifneq ("$(deps-all phoney 19-target-trailing-space-with-padding )","/phoney-dep 19-target-trailing-space-with-padding /phoney-dep-ignore") 123 $(error phoney 19-target-trailing-space-with-padding : $(deps-all phoney 19-target-trailing-space-with-padding )) 124 endif 125 126 ifneq ("$(deps-all phoney 20-target-trailing-space-with-newline-padding )","/phoney-dep 20-target-trailing-space-with-newline-padding /phoney-dep-ignore") 127 $(error phoney 20-target-trailing-space-with-newline-padding : $(deps-all phoney 20-target-trailing-space-with-newline-padding )) 128 endif 129 130 ifneq ("$(deps-all phoney 21-target-trailing-space-with-newline-padding-and-tail my-tail-21)","/phoney-dep 21-target-trailing-space-with-newline-padding-and-tail my-tail-21") 131 $(error 21-target-trailing-space-with-newline-padding-and-tail my-tail-21: $(deps-all 21-target-trailing-space-with-newline-padding-and-tail my-tail-21)) 132 endif 133
Note:
See TracChangeset
for help on using the changeset viewer.