From 07339a8260a4857722b25fec69965935f66c55c3 Mon Sep 17 00:00:00 2001 From: Andrew Gvozdev Date: Sat, 10 Oct 2009 15:58:17 +0000 Subject: [PATCH] bug 212596: JUnit failures in cdt.managedbuilder.test.suite Benchmarks/ moved out of archive --- .../test1DepCalc2/Benchmarks/Sources/func1.d | 1 + .../test1DepCalc2/Benchmarks/Sources/func2.d | 4 ++ .../test1DepCalc2/Benchmarks/Sources/func4.d | 6 +++ .../Benchmarks/Sources/sub sources/func 3.d | 2 + .../Benchmarks/Sources/sub sources/subdir.mk | 24 ++++++++++ .../Benchmarks/Sources/subdir.mk | 37 ++++++++++++++ .../test1DepCalc2/Benchmarks/main.d | 8 ++++ .../test1DepCalc2/Benchmarks/makefile | 45 ++++++++++++++++++ .../test1DepCalc2/Benchmarks/objects.mk | 7 +++ .../test1DepCalc2/Benchmarks/sources.mk | 19 ++++++++ .../test1DepCalc2/Benchmarks/subdir.mk | 24 ++++++++++ .../test1DepCalc2/test1DepCalc2.zip | Bin 7078 -> 3169 bytes .../test1DepCalc3/Benchmarks/Sources/func1.d | 6 +++ .../test1DepCalc3/Benchmarks/Sources/func2.d | 8 ++++ .../test1DepCalc3/Benchmarks/Sources/func4.d | 10 ++++ .../Benchmarks/Sources/sub sources/func 3.d | 6 +++ .../Benchmarks/Sources/sub sources/subdir.mk | 26 ++++++++++ .../Benchmarks/Sources/subdir.mk | 32 +++++++++++++ .../test1DepCalc3/Benchmarks/main.d | 13 +++++ .../test1DepCalc3/Benchmarks/makefile | 45 ++++++++++++++++++ .../test1DepCalc3/Benchmarks/objects.mk | 7 +++ .../test1DepCalc3/Benchmarks/sources.mk | 19 ++++++++ .../test1DepCalc3/Benchmarks/subdir.mk | 26 ++++++++++ .../test1DepCalc3/test1DepCalc3.zip | Bin 7453 -> 3197 bytes .../Benchmarks/Sources/func1.d | 1 + .../Benchmarks/Sources/func2.d | 4 ++ .../Benchmarks/Sources/func4.d | 6 +++ .../Benchmarks/Sources/sub sources/func 3.d | 2 + .../Benchmarks/Sources/sub sources/subdir.mk | 29 +++++++++++ .../Benchmarks/Sources/subdir.mk | 35 ++++++++++++++ .../test1DepCalcPreBuild/Benchmarks/main.d | 8 ++++ .../test1DepCalcPreBuild/Benchmarks/makefile | 45 ++++++++++++++++++ .../Benchmarks/objects.mk | 7 +++ .../Benchmarks/sources.mk | 19 ++++++++ .../test1DepCalcPreBuild/Benchmarks/subdir.mk | 29 +++++++++++ .../test1DepCalcPreBuild.zip | Bin 7117 -> 3165 bytes ...ManagedBuildDependencyCalculatorTests.java | 22 ++++----- 37 files changed, 571 insertions(+), 11 deletions(-) create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/func1.d create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/func2.d create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/func4.d create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/sub sources/func 3.d create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/sub sources/subdir.mk create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/subdir.mk create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/main.d create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/makefile create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/objects.mk create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/sources.mk create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/subdir.mk create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/Sources/func1.d create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/Sources/func2.d create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/Sources/func4.d create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/Sources/sub sources/func 3.d create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/Sources/sub sources/subdir.mk create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/Sources/subdir.mk create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/main.d create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/makefile create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/objects.mk create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/sources.mk create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/subdir.mk create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/func1.d create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/func2.d create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/func4.d create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/sub sources/func 3.d create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/sub sources/subdir.mk create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/subdir.mk create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/main.d create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/makefile create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/objects.mk create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/sources.mk create mode 100644 build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/subdir.mk diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/func1.d b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/func1.d new file mode 100644 index 00000000000..332e0415912 --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/func1.d @@ -0,0 +1 @@ +Sources/func1.d Sources/func1.o: ../Sources/func1.c diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/func2.d b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/func2.d new file mode 100644 index 00000000000..338960f7410 --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/func2.d @@ -0,0 +1,4 @@ +Sources/func2.d Sources/func2.o: ../Sources/func2.c \ + ../Sources/sub\ sources/func\ 3.h + +../Sources/sub\ sources/func\ 3.h: diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/func4.d b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/func4.d new file mode 100644 index 00000000000..c8eca74565f --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/func4.d @@ -0,0 +1,6 @@ +Sources/func4.d Sources/func4.o: ../Sources/func4.c ../Headers/func1.h \ + ../Headers/func2.h + +../Headers/func1.h: + +../Headers/func2.h: diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/sub sources/func 3.d b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/sub sources/func 3.d new file mode 100644 index 00000000000..fedbbb90f6b --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/sub sources/func 3.d @@ -0,0 +1,2 @@ +Sources/sub\ sources/func\ 3.d Sources/sub\ sources/func\ 3.o: \ + ../Sources/sub\ sources/func\ 3.c diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/sub sources/subdir.mk b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/sub sources/subdir.mk new file mode 100644 index 00000000000..b803d8dca87 --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/sub sources/subdir.mk @@ -0,0 +1,24 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../Sources/sub\ sources/func\ 3.c + +OBJS += \ +./Sources/sub\ sources/func\ 3.o + +C_DEPS += \ +./Sources/sub\ sources/func\ 3.d + + +# Each subdirectory must supply rules for building sources it contributes +Sources/sub\ sources/func\ 3.o: ../Sources/sub\ sources/func\ 3.c + @echo 'Building file: $<' + @echo 'Invoking: GCC C Compiler' + gcc -I../Headers -I../Sources/sub\ sources -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"Sources/sub\ sources/func\ 3.d" -o"$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/subdir.mk b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/subdir.mk new file mode 100644 index 00000000000..4f572ad44b2 --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/Sources/subdir.mk @@ -0,0 +1,37 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../Sources/func1.c \ +../Sources/func2.c \ +../Sources/func4.c + +OBJS += \ +./Sources/func1.o \ +./Sources/func2.o \ +./Sources/func4.o + +C_DEPS += \ +./Sources/func1.d \ +./Sources/func2.d \ +./Sources/func4.d + + +# Each subdirectory must supply rules for building sources it contributes +Sources/%.o: ../Sources/%.c + @echo 'Building file: $<' + @echo 'Invoking: GCC C Compiler' + gcc -I../Headers -I../Sources/sub\ sources -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + +Sources/func2.o: ../Sources/func2.c + @echo 'Building file: $<' + @echo 'Invoking: GCC C Compiler' + gcc -I../Headers -I../Sources/sub\ sources -O3 -g3 -Wall -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"Sources/func2.d" -o"$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/main.d b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/main.d new file mode 100644 index 00000000000..6b637378945 --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/main.d @@ -0,0 +1,8 @@ +main.d main.o: ../main.c ../Headers/func1.h ../Headers/func2.h \ + ../Headers/func2.h + +../Headers/func1.h: + +../Headers/func2.h: + +../Headers/func2.h: diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/makefile new file mode 100644 index 00000000000..4b8de9ced8b --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/makefile @@ -0,0 +1,45 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +-include ../makefile.init + +RM := rm + +# All of the sources participating in the build are defined here +-include sources.mk +-include subdir.mk +-include Sources/sub\ sources/subdir.mk +-include Sources/subdir.mk +-include objects.mk + +ifneq ($(MAKECMDGOALS),clean) +ifneq ($(strip $(C_DEPS)),) +-include $(C_DEPS) +endif +endif + +-include ../makefile.defs + +# Add inputs and outputs from these tool invocations to the build variables + +# All Target +all: test1DepCalc2 + +# Tool invocations +test1DepCalc2: $(OBJS) $(USER_OBJS) + @echo 'Building target: $@' + @echo 'Invoking: GCC C Linker' + gcc -o"test1DepCalc2" $(OBJS) $(USER_OBJS) $(LIBS) + @echo 'Finished building target: $@' + @echo ' ' + +# Other Targets +clean: + -$(RM) $(OBJS)$(C_DEPS)$(EXECUTABLES) test1DepCalc2 + -@echo ' ' + +.PHONY: all clean dependents +.SECONDARY: + +-include ../makefile.targets diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/objects.mk b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/objects.mk new file mode 100644 index 00000000000..224ef688d0b --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/objects.mk @@ -0,0 +1,7 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +USER_OBJS := + +LIBS := diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/sources.mk b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/sources.mk new file mode 100644 index 00000000000..13cf73bde18 --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/sources.mk @@ -0,0 +1,19 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +O_SRCS := +C_SRCS := +S_UPPER_SRCS := +OBJ_SRCS := +ASM_SRCS := +OBJS := +C_DEPS := +EXECUTABLES := + +# Every subdirectory with source files must be described here +SUBDIRS := \ +. \ +Sources/sub\ sources \ +Sources \ + diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/subdir.mk b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/subdir.mk new file mode 100644 index 00000000000..616488bf767 --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/Benchmarks/subdir.mk @@ -0,0 +1,24 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../main.c + +OBJS += \ +./main.o + +C_DEPS += \ +./main.d + + +# Each subdirectory must supply rules for building sources it contributes +%.o: ../%.c + @echo 'Building file: $<' + @echo 'Invoking: GCC C Compiler' + gcc -I../Headers -I../Sources/sub\ sources -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o"$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/test1DepCalc2.zip b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc2/test1DepCalc2.zip index 33838f72a962d6584e100f3b542d90545ccfa8a6..a600287b3011182b1a3f5a18a2745dd894cf6496 100755 GIT binary patch delta 156 zcmZ2x{!n5<@8)mZ8#yL_;}+pz00Kq^1t8hXFnO_rHPc^)$q#^3I^$$nNfV}C#>v5w z)=c*qCrLJlQT zFYgFT2Yk`Wa`>!-&_TXushIR`zkAQK{hsT8UHAXG?(6!Gxv5Zxat`pxv)9b-j(0JD zKp^?x+5j#S&p`Jh0j^}f5Y+%zpFkB4I=;RAF^<>@Cw{a=Mn!!(?4_Q>x{#Bd=4exT z$u=j;zbNaJiU$mx!eo)|Nk5`LpvU{1+$iEIbG#Wsz^#FyAy5bc!alK}kD@UmMtL9* zV;BS?47viieEE5L`S^R%NW`FAHNg{Ggcg`j_xe)Ai`g5llX!2GIgyGf7A2b3)q}Sk z+??B6NLrW|Ft@HKi!MIoKNxejb2dgt{LVXa{)W@%4q&{FHJy&kDI;F-62TSSHu}R2 zPI9=H)_?x=iD8z0nFgyu5TE?=Gcb&)evq1l3+x{v^EAOnT%rrhkvzrFdSkWXZn${S z#lrHb9C3=@%L?2ZeoxlRlwn(Mi-|j&Ap|>S15Yl#cKM#s6SG1+ zIvl(3sx4(yEA5b`F^|3GjP=>Dmc8$5|1SMnJfd$_aI$W{_n`XunR+FM-Jzn-J_aX0 zFl`zwt*Weg7H$A*G>BeAopIu?{2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e4VI0&6(N#wZ8o`8CgUMYn2!N2q zKFm3Q1UfQKO|W6ztw4L! zKwUx08sJ8;BCV8OEm>nVPRtU48+e?-B%!DOfg*i$0;4?%CRpbQ&7ojjs4O#fN*X7W zsgkFwtD4?fj$(N=o=uVkG`u53ymSn2-{_qa@lx%P$-XQ^au3K54)T#u^X<~Iyu%+F zcayLcp;?ug@!2d+T%PG5n9q<`-hpZ5y;Rmdz+#1*{@9;Nocz`V7qt;*&x2BqnI7PN z8=+uNppna_e2=-h3kTl&{Rd% zc)XYn`aYe&B&=UCoKO&cuIY3$t{$rXiZS-R|zY{-8I6`2nU$z-eBmhU1aezQAv>a$PMY9AH|0~cB98ljZr)D*Q z!ogXjW*){}5gfguw>%6EFDn%b$9Rz!eK^;CKx+wou3fAqNtVpZelcGrP?krr+PGYT z@m$9h#gF{{>^nb@e%GIukTARe7t~U>UWu`?-z{M%gC)5v$19>(tk+);CdZ!h66O@_ zeH0f2Rh?G>I*y_qyR2+Dz<) '$(@:%.o=%.d)' && \ + gcc -MM -MG -P -w -DFUN3 -I../Headers -I../Sources/sub\ sources -O0 -g3 -Wall -c -fmessage-length=0 "$<" >> '$(@:%.o=%.d)' + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/Sources/subdir.mk b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/Sources/subdir.mk new file mode 100644 index 00000000000..29c1af6df2d --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/Sources/subdir.mk @@ -0,0 +1,32 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../Sources/func1.c \ +../Sources/func2.c \ +../Sources/func4.c + +OBJS += \ +./Sources/func1.o \ +./Sources/func2.o \ +./Sources/func4.o + +C_DEPS += \ +./Sources/func1.d \ +./Sources/func2.d \ +./Sources/func4.d + + +# Each subdirectory must supply rules for building sources it contributes +Sources/%.o: ../Sources/%.c + @echo 'Building file: $<' + @echo 'Invoking: GCC C Compiler' + gcc -I../Headers -I../Sources/sub\ sources -O0 -g3 -Wall -c -fmessage-length=0 -o"$@" "$<" && \ + echo -n '$(@:%.o=%.d)' $(dir $@) > '$(@:%.o=%.d)' && \ + gcc -MM -MG -P -w -I../Headers -I../Sources/sub\ sources -O0 -g3 -Wall -c -fmessage-length=0 "$<" >> '$(@:%.o=%.d)' + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/main.d b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/main.d new file mode 100644 index 00000000000..664bc3d2068 --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/main.d @@ -0,0 +1,13 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +main.d ./main.o: ../main.c ../Headers/func1.h ../Headers/func2.h \ + ../Headers/func2.h + +../Headers/func1.h: + +../Headers/func2.h: + +../Headers/func2.h: + diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/makefile new file mode 100644 index 00000000000..2bb855d9a5d --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/makefile @@ -0,0 +1,45 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +-include ../makefile.init + +RM := rm + +# All of the sources participating in the build are defined here +-include sources.mk +-include subdir.mk +-include Sources/sub\ sources/subdir.mk +-include Sources/subdir.mk +-include objects.mk + +ifneq ($(MAKECMDGOALS),clean) +ifneq ($(strip $(C_DEPS)),) +-include $(C_DEPS) +endif +endif + +-include ../makefile.defs + +# Add inputs and outputs from these tool invocations to the build variables + +# All Target +all: test1DepCalc3 + +# Tool invocations +test1DepCalc3: $(OBJS) $(USER_OBJS) + @echo 'Building target: $@' + @echo 'Invoking: GCC C Linker' + gcc -o"test1DepCalc3" $(OBJS) $(USER_OBJS) $(LIBS) + @echo 'Finished building target: $@' + @echo ' ' + +# Other Targets +clean: + -$(RM) $(OBJS)$(C_DEPS)$(EXECUTABLES) test1DepCalc3 + -@echo ' ' + +.PHONY: all clean dependents +.SECONDARY: + +-include ../makefile.targets diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/objects.mk b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/objects.mk new file mode 100644 index 00000000000..224ef688d0b --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/objects.mk @@ -0,0 +1,7 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +USER_OBJS := + +LIBS := diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/sources.mk b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/sources.mk new file mode 100644 index 00000000000..13cf73bde18 --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/sources.mk @@ -0,0 +1,19 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +O_SRCS := +C_SRCS := +S_UPPER_SRCS := +OBJ_SRCS := +ASM_SRCS := +OBJS := +C_DEPS := +EXECUTABLES := + +# Every subdirectory with source files must be described here +SUBDIRS := \ +. \ +Sources/sub\ sources \ +Sources \ + diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/subdir.mk b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/subdir.mk new file mode 100644 index 00000000000..c825697de65 --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/Benchmarks/subdir.mk @@ -0,0 +1,26 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../main.c + +OBJS += \ +./main.o + +C_DEPS += \ +./main.d + + +# Each subdirectory must supply rules for building sources it contributes +%.o: ../%.c + @echo 'Building file: $<' + @echo 'Invoking: GCC C Compiler' + gcc -I../Headers -I../Sources/sub\ sources -O0 -g3 -Wall -c -fmessage-length=0 -o"$@" "$<" && \ + echo -n '$(@:%.o=%.d)' $(dir $@) > '$(@:%.o=%.d)' && \ + gcc -MM -MG -P -w -I../Headers -I../Sources/sub\ sources -O0 -g3 -Wall -c -fmessage-length=0 "$<" >> '$(@:%.o=%.d)' + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/test1DepCalc3.zip b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalc3/test1DepCalc3.zip index 131506183de2fadfffc8908804f551729ff73ffe..6ac4388506c95b2231d137a9fb47c119399acc4f 100755 GIT binary patch delta 150 zcmbPh^;cp-@8&?>vmBFuNy;%bGfb9}vS#|rFgYAZWin2lB4xtV&p7!MkoS;rGP|@j zQxMZ+7a%p6X>y~q1Jh9uB{tcYjeYV1X>BH1W;j<%Mw@98^W<G delta 4310 zcmb_fc{r5o8y>?jW)K-j--=D zmSjIfHEGIHV@(IYZ<2#KopYV*I=?@@d1tQcd+&MP_r9O!xu2zN8T&3L0*Vk@tjt!f zgdhk663hgF@PMnXo3D!}(K)~;5JPnK@>O)TBIGNMQ1AqQd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8Vq!wDkrx!9M0rTjcvZhnF+9|g%bV}rA=E`Dv;Xj;Hz}Fy55OMG` z27ESfy*jm6nlM38pbY+QgaG$^-!278X4Cf7fnoyy@NEcTw3+J&+MwVzAgr6tRgAy) ziF61Egd2PsH$$wI;8g%Huh;y~s&QQRjr9Giw?O+b!gm+BcA7ODMz^<)69djz8xBK{ z1fUyOIuL077=aiK**cIk>@PrTIG{b-cr`yVOLUyotLcJqZUO?m5Wm_gxof9kbWZfG ztGB|<%DDHNkJ`8C9IM`Dv$a`=X!|J4&M~X8pD59rZuEB!7^6x zb);YfI5=#eXuY5_VrV?rToKnXJis*D2(f0|Hq!E=%%mfLGdNwc+ZkvvXP1Q@;v|K$ zYd{-0N!8$@z(ty2$3m^RNU{hGXdV~I16=sGkZysC^%l}7LK}J>T%g-YI!IaQDE+G_ zDIO^YC2*6fkyz*{Zqfu&1)9T4lH^d6_#MmwMgIUl`b1}G0s~p0I~Ng%3>yS8Oz&}! F{{c@xT$BI+ diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/func1.d b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/func1.d new file mode 100644 index 00000000000..332e0415912 --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/func1.d @@ -0,0 +1 @@ +Sources/func1.d Sources/func1.o: ../Sources/func1.c diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/func2.d b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/func2.d new file mode 100644 index 00000000000..338960f7410 --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/func2.d @@ -0,0 +1,4 @@ +Sources/func2.d Sources/func2.o: ../Sources/func2.c \ + ../Sources/sub\ sources/func\ 3.h + +../Sources/sub\ sources/func\ 3.h: diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/func4.d b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/func4.d new file mode 100644 index 00000000000..c8eca74565f --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/func4.d @@ -0,0 +1,6 @@ +Sources/func4.d Sources/func4.o: ../Sources/func4.c ../Headers/func1.h \ + ../Headers/func2.h + +../Headers/func1.h: + +../Headers/func2.h: diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/sub sources/func 3.d b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/sub sources/func 3.d new file mode 100644 index 00000000000..fedbbb90f6b --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/sub sources/func 3.d @@ -0,0 +1,2 @@ +Sources/sub\ sources/func\ 3.d Sources/sub\ sources/func\ 3.o: \ + ../Sources/sub\ sources/func\ 3.c diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/sub sources/subdir.mk b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/sub sources/subdir.mk new file mode 100644 index 00000000000..011e215450b --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/sub sources/subdir.mk @@ -0,0 +1,29 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../Sources/sub\ sources/func\ 3.c + +OBJS += \ +./Sources/sub\ sources/func\ 3.o + +C_DEPS += \ +./Sources/sub\ sources/func\ 3.d + + +# Each subdirectory must supply rules for building sources it contributes +Sources/sub\ sources/func\ 3.o: ../Sources/sub\ sources/func\ 3.c + @echo 'Building file: $<' + @echo 'Invoking: GCC C Compiler' + gcc -I../Headers -I../Sources/sub\ sources -O0 -g3 -Wall -c -fmessage-length=0 -o"$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + +Sources/sub\ sources/func\ 3.d: ../Sources/sub\ sources/func\ 3.c + @echo 'Regenerating dependency file: $@' + gcc -w -MM -MP -MT"Sources/sub\ sources/func\ 3.d" -MT"Sources/sub\ sources/func\ 3.o" -I../Headers -I../Sources/sub\ sources -MF"$@" "$<" + @echo ' ' + + diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/subdir.mk b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/subdir.mk new file mode 100644 index 00000000000..5d672a7552e --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/Sources/subdir.mk @@ -0,0 +1,35 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../Sources/func1.c \ +../Sources/func2.c \ +../Sources/func4.c + +OBJS += \ +./Sources/func1.o \ +./Sources/func2.o \ +./Sources/func4.o + +C_DEPS += \ +./Sources/func1.d \ +./Sources/func2.d \ +./Sources/func4.d + + +# Each subdirectory must supply rules for building sources it contributes +Sources/%.o: ../Sources/%.c + @echo 'Building file: $<' + @echo 'Invoking: GCC C Compiler' + gcc -I../Headers -I../Sources/sub\ sources -O0 -g3 -Wall -c -fmessage-length=0 -o"$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + +Sources/%.d: ../Sources/%.c + @echo 'Regenerating dependency file: $@' + gcc -w -MM -MP -MT"$@" -MT"$(@:%.d=%.o)" -I../Headers -I../Sources/sub\ sources -MF"$@" "$<" + @echo ' ' + + diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/main.d b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/main.d new file mode 100644 index 00000000000..6b637378945 --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/main.d @@ -0,0 +1,8 @@ +main.d main.o: ../main.c ../Headers/func1.h ../Headers/func2.h \ + ../Headers/func2.h + +../Headers/func1.h: + +../Headers/func2.h: + +../Headers/func2.h: diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/makefile b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/makefile new file mode 100644 index 00000000000..381d40af0ee --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/makefile @@ -0,0 +1,45 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +-include ../makefile.init + +RM := rm + +# All of the sources participating in the build are defined here +-include sources.mk +-include subdir.mk +-include Sources/sub\ sources/subdir.mk +-include Sources/subdir.mk +-include objects.mk + +ifneq ($(MAKECMDGOALS),clean) +ifneq ($(strip $(C_DEPS)),) +include $(C_DEPS) +endif +endif + +-include ../makefile.defs + +# Add inputs and outputs from these tool invocations to the build variables + +# All Target +all: test1DepCalcPreBuild + +# Tool invocations +test1DepCalcPreBuild: $(OBJS) $(USER_OBJS) + @echo 'Building target: $@' + @echo 'Invoking: GCC C Linker' + gcc -o"test1DepCalcPreBuild" $(OBJS) $(USER_OBJS) $(LIBS) + @echo 'Finished building target: $@' + @echo ' ' + +# Other Targets +clean: + -$(RM) $(OBJS)$(C_DEPS)$(EXECUTABLES) test1DepCalcPreBuild + -@echo ' ' + +.PHONY: all clean dependents +.SECONDARY: + +-include ../makefile.targets diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/objects.mk b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/objects.mk new file mode 100644 index 00000000000..224ef688d0b --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/objects.mk @@ -0,0 +1,7 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +USER_OBJS := + +LIBS := diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/sources.mk b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/sources.mk new file mode 100644 index 00000000000..13cf73bde18 --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/sources.mk @@ -0,0 +1,19 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +O_SRCS := +C_SRCS := +S_UPPER_SRCS := +OBJ_SRCS := +ASM_SRCS := +OBJS := +C_DEPS := +EXECUTABLES := + +# Every subdirectory with source files must be described here +SUBDIRS := \ +. \ +Sources/sub\ sources \ +Sources \ + diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/subdir.mk b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/subdir.mk new file mode 100644 index 00000000000..f047872e5e7 --- /dev/null +++ b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/Benchmarks/subdir.mk @@ -0,0 +1,29 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +C_SRCS += \ +../main.c + +OBJS += \ +./main.o + +C_DEPS += \ +./main.d + + +# Each subdirectory must supply rules for building sources it contributes +main.o: ../main.c + @echo 'Building file: $<' + @echo 'Invoking: GCC C Compiler' + gcc -I../Headers -I../Sources/sub\ sources -O0 -g3 -c -o"$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + +main.d: ../main.c + @echo 'Regenerating dependency file: $@' + gcc -w -MM -MP -MT"main.d" -MT"main.o" -I../Headers -I../Sources/sub\ sources -MF"$@" "$<" + @echo ' ' + + diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/test1DepCalcPreBuild.zip b/build/org.eclipse.cdt.managedbuilder.core.tests/resources/depCalcProjects/test1DepCalcPreBuild/test1DepCalcPreBuild.zip index 9fb45fe8365bd81312235c5ab6319b417178f70b..9dfd7aaddec39167bbd5460ff5d617a872971e75 100755 GIT binary patch delta 166 zcmX?WepiAez?+$6a)E@@=1tr$I3|}#$T2Z6Or9oT%~ZuO`7)4t#xPkx(u9eJak87F zHB%hp%#$xm znJ}3$Pv(?1WwKzK>>zE=#khK)a(oa$IpGm$klkc1Bdgq*TUFW%<_qm_ty-%-bn-*Ygww410fk1d5pCX*G zXPzgy>48t@z$FAOL!V%RUyx@QFX;dY>(KcR7_N0T7I@!uv^$x%Dl#hb9J^?3=cae_DYF%eS{&f z=C+^e&#xI4yE)rjHFAOLl2Cx6oc|d_z_>Nq-MB7D>s6NKOI1Q+{%B|QNQa!|+>HJ^ zeI5Is51xv7=)mW3gCx;e?(0)?%4aXW{1)vDS5-_j=hyWI2%4lqeG`e!KzI1j^_W8$ zA4L&sGc`TX`sYG#hf(39Ql4%!oCOh~wvQ4}ey^gsM`sL9w#Nw$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/depCalcProjects/" + projName)); if(testDir == null) { @@ -68,7 +69,7 @@ public class ManagedBuildDependencyCalculatorTests extends TestCase { } }); - projectList = new ArrayList(projectZips.length); + projectList = new ArrayList(projectZips.length); for(int i = 0; i < projectZips.length; i++){ try{ String projectName = projectZips[i].getName(); @@ -93,12 +94,12 @@ public class ManagedBuildDependencyCalculatorTests extends TestCase { try{ IProject project = ManagedBuildTestHelper.createProject(projName, null, location, projectTypeId); if(project != null) - projectList = new ArrayList(1); + projectList = new ArrayList(1); projectList.add(project); } catch(Exception e){} } - return (IProject[])projectList.toArray(new IProject[projectList.size()]); + return projectList.toArray(new IProject[projectList.size()]); } private IProject[] createProjects(String projName, IPath location, String projectTypeId, boolean containsZip) { @@ -108,10 +109,6 @@ public class ManagedBuildDependencyCalculatorTests extends TestCase { public String queryOverwrite(String file) { return ALL; }}; - IOverwriteQuery queryNOALL = new IOverwriteQuery(){ - public String queryOverwrite(String file) { - return NO_ALL; - }}; UpdateManagedProjectManager.setBackupFileOverwriteQuery(queryALL); UpdateManagedProjectManager.setUpdateProjectQuery(queryALL); @@ -151,10 +148,13 @@ public class ManagedBuildDependencyCalculatorTests extends TestCase { if (i == 0) { String configName = info.getDefaultConfiguration().getName(); IPath buildDir = Path.fromOSString(configName); - if (compareBenchmark) - succeeded = ManagedBuildTestHelper.compareBenchmarks(curProject, buildDir, files); - else + if (compareBenchmark) { + IPath benchmarkLocationBase = resourcesLocation.append(curProject.getName()); + IPath buildLocation = curProject.getLocation().append(buildDir); + succeeded = ManagedBuildTestHelper.compareBenchmarks(curProject, buildLocation, files, benchmarkLocationBase); + } else { succeeded = ManagedBuildTestHelper.verifyFilesDoNotExist(curProject, buildDir, files); + } } } }