mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
88b3b2c712
* autogen.sh: Fixed a left over configure.in to configure.ac * confiugre.ac: Added check foo for NUnit * gstreamer-sharp.mdp: * gstreamer-sharp.mds: Added MonoDevelop solution * source/Makefile.am: Cleaned and fixed * tests/ConsoleUi.cs: * tests/ApplicationTest.cs: * tests/BinTest.cs: * tests/Makefile.am: Added NUnit test framework and a few tests for Gst.Application and Gst.Bin * gstreamer-sharp/CommonTags.cs: * gstreamer-sharp/*.custom: * gstreamer-sharp/glue/*.c: Cleaned up * gstreamer-sharp/Application.cs: New application bindings; fixed to work properly with GStreamer 0.10 * gstreamer-sharp/Version.cs: New Gst.Version class * gstreamer-sharp/Makefile.am: Added Version.cs * gstreamer-sharp/plugins-base/PlayBin.cs: Fixed and extended PlayBin element binding with new (but not all) properties * Makefile.am: Added tests git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@60902 e3ebcda4-bce8-0310-ba0a-eca2169e7518
23 lines
810 B
Makefile
23 lines
810 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
|
|
|
|
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
|
|
|