mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-03 06:56:46 +00:00
51f65dd9e0
* tests/PadTest.cs: * tests/Makefile.am: Introducing a new test for Gst.Pad. All fixtures pass. * tests/CapsTest.cs: Adding a new fixture for caps union testing (passes). Fixing some code-style errors. git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@61327 e3ebcda4-bce8-0310-ba0a-eca2169e7518
23 lines
853 B
Makefile
23 lines
853 B
Makefile
MCS_FLAGS = -debug
|
|
NUNIT_FLAGS = @MONO_NUNIT_LIBS@
|
|
|
|
ASSEMBLY_NAME = gstreamer-tests
|
|
ASSEMBLY = $(ASSEMBLY_NAME).dll
|
|
ASSEMBLY_CSFILES = $(srcdir)/ApplicationTest.cs $(srcdir)/BinTest.cs $(srcdir)/CapsTest.cs $(srcdir)/PadTest.cs
|
|
|
|
NUNIT_TESTER_NAME = ConsoleUi
|
|
NUNIT_TESTER = $(NUNIT_TESTER_NAME).exe
|
|
NUNIT_TESTER_CSFILES = $(srcdir)/$(NUNIT_TESTER_NAME).cs
|
|
|
|
$(ASSEMBLY): $(ASSEMBLY_CSFILES)
|
|
$(CSC) $(MCS_FLAGS) $(NUNIT_FLAGS) -out:$@ -target:library -r:$(top_builddir)/gstreamer-sharp/gstreamer-sharp.dll $(ASSEMBLY_CSFILES)
|
|
|
|
$(NUNIT_TESTER): $(NUNIT_TESTER_CSFILES)
|
|
$(CSC) $(MCS_FLAGS) -out:$@ $(NUNIT_FLAGS) $(NUNIT_TESTER_CSFILES)
|
|
|
|
run-test: $(NUNIT_TESTER) $(ASSEMBLY)
|
|
MONO_PATH="../gstreamer-sharp/" mono --debug $(NUNIT_TESTER) $(ASSEMBLY)
|
|
|
|
CLEANFILES = $(ASSEMBLY) $(NUNIT_TESTER) TestResult.xml
|
|
DISTCLEANFILES = *.mdb Makefile.in *.dll *.exe
|
|
|