From dd9640cda82bca8125289f292238ea6b447cc6e9 Mon Sep 17 00:00:00 2001
From: lbsa71
Date: Thu, 19 Feb 2009 12:48:38 +0000
Subject: === PREBUILD UPSTREAMS UPDATE : POTENTIAL BREAKAGE ===
* Applied upstreams changes to allow for auditing and debugging in our various environments.
* This should, in theory, bring back 'multiple ref dirs'.
* Temporarily Removed xmlns because prebuild-1.7 schema does not allow for multiple solutions per prebuild node (This will be a moot issue once the Prebuild node is moved out of prebuild.xml)
* Autotools target: Various minor fixes
* MonoDevelop Target : No changes.
* Nant Target: Various minor fixes, support for net-3.5 and mono-2.0/3.5 targets
* Sharpdevelop targets: No changes.
* VS Targets: Refactored into using VSGenericTarget, and supports 2.0-3.5
* XCode Target: No changes.
--- Regressions and outstanding issues ---
* The Solution is assigned a random Guid - will lead to unnecessary reloads and loss of user settings.
--- New features of Prebuild 2.0.4 ---
* (Better) support for Web, WinForms and Database Projects and build actions
* Conditional Framework Version compilation support (1.1, 2.0-3.5)
* ArrayList -> List<>, ICollection -> IList
(this means Prebuild can generate 1.1 solutions, but can't itself be built under 1.1 - how very meta)
* Added preprocessor directive.
---
Prebuild/tests/Makefile | 24 +++++++++++++++++++
Prebuild/tests/README.txt | 5 ++++
Prebuild/tests/include-001.expected | 46 ++++++++++++++++++++++++++++++++++++
Prebuild/tests/include-001.include | 33 ++++++++++++++++++++++++++
Prebuild/tests/include-001.prebuild | 22 +++++++++++++++++
Prebuild/tests/include-002-2.include | 8 +++++++
Prebuild/tests/include-002.expected | 26 ++++++++++++++++++++
Prebuild/tests/include-002.include | 14 +++++++++++
Prebuild/tests/include-002.prebuild | 7 ++++++
9 files changed, 185 insertions(+)
create mode 100644 Prebuild/tests/Makefile
create mode 100644 Prebuild/tests/README.txt
create mode 100644 Prebuild/tests/include-001.expected
create mode 100644 Prebuild/tests/include-001.include
create mode 100644 Prebuild/tests/include-001.prebuild
create mode 100644 Prebuild/tests/include-002-2.include
create mode 100644 Prebuild/tests/include-002.expected
create mode 100644 Prebuild/tests/include-002.include
create mode 100644 Prebuild/tests/include-002.prebuild
(limited to 'Prebuild/tests')
diff --git a/Prebuild/tests/Makefile b/Prebuild/tests/Makefile
new file mode 100644
index 0000000..4a8ddf4
--- /dev/null
+++ b/Prebuild/tests/Makefile
@@ -0,0 +1,24 @@
+#
+# Executable
+#
+
+# Executables
+PREBUILD = mono ../src/bin/Release/prebuild.exe /target makefile
+
+# Files
+PREBUILDS = $(wildcard *.prebuild)
+RESULTS = $(PREBUILDS:prebuild=results)
+TESTS = $(PREBUILDS:prebuild=test)
+
+all: $(TESTS)
+
+clean:
+ rm -f *~ *.log
+ rm -f $(RESULTS)
+
+%.test: %.prebuild
+ $(PREBUILD) /log $*.log /file $*.prebuild /ppi $*.results >& /dev/null
+ if ! cmp $*.expected $*.results; then \
+ echo $*.prebuild failed; \
+ false; \
+ fi
diff --git a/Prebuild/tests/README.txt b/Prebuild/tests/README.txt
new file mode 100644
index 0000000..2c2de3b
--- /dev/null
+++ b/Prebuild/tests/README.txt
@@ -0,0 +1,5 @@
+There are some tests that are run via a Makfile in this
+directory. They haven't been included in any form of unit tests, but
+they are there to help test the functionality in some what. Simply
+build prebuild (so there is a src/bin/Release/prebuild.exe) and type
+`make` in this directory. Everything should pass without errors.
diff --git a/Prebuild/tests/include-001.expected b/Prebuild/tests/include-001.expected
new file mode 100644
index 0000000..26374b5
--- /dev/null
+++ b/Prebuild/tests/include-001.expected
@@ -0,0 +1,46 @@
+
+
+
+
+ DEBUG;TRACE
+ false
+ bin/Debug
+ true
+
+
+
+
+ TRACE
+ bin/Release
+ true
+ false
+
+
+
+
+
+ DEBUG;TRACE
+ false
+ bin/Debug
+ true
+ Prebuild.snk
+ 1595
+
+
+
+
+ TRACE
+ bin/Release
+ true
+ false
+ Prebuild.snk
+ 1595
+
+
+
+
+
+
+
+
+
diff --git a/Prebuild/tests/include-001.include b/Prebuild/tests/include-001.include
new file mode 100644
index 0000000..7f75962
--- /dev/null
+++ b/Prebuild/tests/include-001.include
@@ -0,0 +1,33 @@
+
+
+
+ DEBUG;TRACE
+ false
+ bin/Debug
+ true
+ Prebuild.snk
+ 1595
+
+
+
+
+ TRACE
+ bin/Release
+ true
+ false
+ Prebuild.snk
+ 1595
+
+
+
+
+
+
+
diff --git a/Prebuild/tests/include-001.prebuild b/Prebuild/tests/include-001.prebuild
new file mode 100644
index 0000000..8047008
--- /dev/null
+++ b/Prebuild/tests/include-001.prebuild
@@ -0,0 +1,22 @@
+
+
+
+
+
+ DEBUG;TRACE
+ false
+ bin/Debug
+ true
+
+
+
+
+ TRACE
+ bin/Release
+ true
+ false
+
+
+
+
+
diff --git a/Prebuild/tests/include-002-2.include b/Prebuild/tests/include-002-2.include
new file mode 100644
index 0000000..661b7f3
--- /dev/null
+++ b/Prebuild/tests/include-002-2.include
@@ -0,0 +1,8 @@
+
+
+ DEBUG;TRACE
+ false
+ bin/Debug
+ true
+
+
diff --git a/Prebuild/tests/include-002.expected b/Prebuild/tests/include-002.expected
new file mode 100644
index 0000000..9849658
--- /dev/null
+++ b/Prebuild/tests/include-002.expected
@@ -0,0 +1,26 @@
+
+
+
+
+ DEBUG;TRACE
+ false
+ bin/Debug
+ true
+
+
+
+
+
+ DEBUG;TRACE
+ false
+ bin/Debug
+ true
+
+
+
+
+
+
+
+
+
diff --git a/Prebuild/tests/include-002.include b/Prebuild/tests/include-002.include
new file mode 100644
index 0000000..64f4058
--- /dev/null
+++ b/Prebuild/tests/include-002.include
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
diff --git a/Prebuild/tests/include-002.prebuild b/Prebuild/tests/include-002.prebuild
new file mode 100644
index 0000000..9e85f20
--- /dev/null
+++ b/Prebuild/tests/include-002.prebuild
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
--
cgit v1.1