You've already forked linux-packaging-mono
Imported Upstream version 3.12.0
Former-commit-id: cf92446697332992ec36726e78eb8703e1f259d7
This commit is contained in:
@@ -90,9 +90,23 @@ cleanup:
|
||||
-rm -Rf Test/en.actual Test/html.actual
|
||||
-rm -f monodocer1.exe*
|
||||
|
||||
Test/DocTest-DropNS-classic-secondary.dll:
|
||||
@echo $(value @)
|
||||
$(CSCOMPILE) $(TEST_CSCFLAGS) -debug -unsafe -target:library -out:$@ Test/DocTest-DropNS-classic-secondary.cs
|
||||
|
||||
Test/DocTest-DropNS-classic.dll:
|
||||
@echo $(value @)
|
||||
$(CSCOMPILE) $(TEST_CSCFLAGS) -debug -unsafe -target:library -out:$@ Test/DocTest-DropNS-classic.cs
|
||||
|
||||
Test/DocTest-DropNS-unified.dll:
|
||||
$(CSCOMPILE) $(TEST_CSCFLAGS) -debug -unsafe -target:library -out:$@ Test/DocTest-DropNS-unified.cs
|
||||
|
||||
Test/DocTest.dll:
|
||||
$(CSCOMPILE) $(TEST_CSCFLAGS) -debug -unsafe -target:library -out:$@ Test/DocTest.cs
|
||||
|
||||
Test/DocTest-InternalInterface.dll:
|
||||
$(CSCOMPILE) $(TEST_CSCFLAGS) -debug -unsafe -target:library -out:$@ Test/DocTest-InternalInterface.cs
|
||||
|
||||
Test/DocTest.dll-v1:
|
||||
-rm -f Test/DocTest.cs
|
||||
cp Test/DocTest-v1.cs Test/DocTest.cs
|
||||
@@ -106,6 +120,42 @@ Test/DocTest.dll-v2:
|
||||
-rm -f Test/DocTest.dll
|
||||
$(MAKE) TEST_CSCFLAGS=$(TEST_CSCFLAGS) Test/DocTest.dll
|
||||
|
||||
check-monodocer-dropns-classic: $(PROGRAM)
|
||||
# tests the simplest --dropns case, a single class where the root namespace was dropped.
|
||||
-rm -Rf Test/en.actual
|
||||
$(MAKE) Test/DocTest-DropNS-classic.dll
|
||||
$(MONO) $(PROGRAM) update --exceptions=all -o Test/en.actual Test/DocTest-DropNS-classic.dll
|
||||
$(MAKE) update-monodocer-dropns-unified
|
||||
diff --exclude=.svn -rup Test/en.expected-dropns-classic-v1 Test/en.actual
|
||||
|
||||
check-monodocer-dropns-classic-withsecondary: $(PROGRAM)
|
||||
# tests case where a secondary assembly is included with a --dropns parameter
|
||||
-rm -Rf Test/en.actual
|
||||
$(MAKE) Test/DocTest-DropNS-classic.dll
|
||||
$(MAKE) Test/DocTest-DropNS-classic-secondary.dll
|
||||
$(MONO) $(PROGRAM) update --exceptions=all -o Test/en.actual Test/DocTest-DropNS-classic.dll Test/DocTest-DropNS-classic-secondary.dll
|
||||
$(MAKE) update-monodocer-dropns-unified-withsecondary
|
||||
diff --exclude=.svn -rup Test/en.expected-dropns-classic-withsecondary Test/en.actual
|
||||
|
||||
update-monodocer-dropns-unified: $(PROGRAM)
|
||||
$(MAKE) Test/DocTest-DropNS-unified.dll
|
||||
$(MONO) $(PROGRAM) update --exceptions=all -o Test/en.actual Test/DocTest-DropNS-unified.dll --dropns Test/DocTest-DropNS-unified.dll=MyFramework
|
||||
|
||||
update-monodocer-dropns-unified-withsecondary: $(PROGRAM)
|
||||
$(MAKE) Test/DocTest-DropNS-unified.dll
|
||||
$(MONO) $(PROGRAM) update --exceptions=all -o Test/en.actual Test/DocTest-DropNS-unified.dll Test/DocTest-DropNS-classic-secondary.dll --dropns Test/DocTest-DropNS-unified.dll=MyFramework
|
||||
|
||||
update-monodocer-dropns-classic-secondary: $(PROGRAM)
|
||||
$(MAKE) Test/DocTest-DropNS-classic-secondary.dll
|
||||
$(MONO) $(PROGRAM) update --exceptions=all -o Test/en.actual Test/DocTest-DropNS-classic-secondary.dll
|
||||
|
||||
check-monodocer-internal-interface: $(PROGRAM)
|
||||
# Tests to make sure internal interfaces that are explicitly implemented are not documented
|
||||
-rm -Rf Test/en.actual
|
||||
$(MAKE) Test/DocTest-InternalInterface.dll
|
||||
$(MONO) $(PROGRAM) update --exceptions=all -o Test/en.actual Test/DocTest-InternalInterface.dll
|
||||
diff --exclude=.svn -rup Test/en.expected-internal-interface Test/en.actual
|
||||
|
||||
check-monodocer-update: $(PROGRAM)
|
||||
find Test/en.expected -name \*.xml -exec rm "{}" \;
|
||||
$(MAKE) Test/DocTest.dll-v1
|
||||
@@ -262,8 +312,12 @@ check-doc-tools-update: check-monodocer-since-update \
|
||||
check-monodocer-importecmadoc-update \
|
||||
check-monodocer-importslashdoc-update \
|
||||
check-monodocer-update \
|
||||
check-monodocer-dropns-classic \
|
||||
check-monodocer-dropns-classic-withsecondary \
|
||||
check-monodocer-internal-interface \
|
||||
check-monodocer-delete-update \
|
||||
check-mdoc-export-html-update \
|
||||
check-mdoc-export-msxdoc-update \
|
||||
check-mdoc-validate-update
|
||||
check-mdoc-validate-update
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user