[bcl] Put xunit tests in mcs/class/lib/PROFILE/tests too (#10928)
[mono-project.git] / mcs / class / Mono.Profiler.Log / Makefile
blob3791df0d6a5edafc15cc39cfcdb71fa206ebf0af
1 thisdir = class/Mono.Profiler.Log
2 include ../../build/rules.make
4 LIBRARY = Mono.Profiler.Log.dll
5 LIBRARY_WARN_AS_ERROR = yes
7 KEYFILE = $(LIBRARY_SNK)
9 LIB_REFS = System System.Core
10 LIB_MCS_FLAGS = /unsafe /publicsign /nowarn:0618
12 XTEST_LIB_REFS = System System.Core Facades/System.Threading.Tasks
14 xunit-test-local: $(topdir)/class/lib/$(PROFILE_DIRECTORY)/tests/log-profiler-test.exe
16 $(topdir)/class/lib/$(PROFILE_DIRECTORY)/tests/log-profiler-test.exe: Test/log-profiler-test.cs
17 mkdir -p $(dir $@)
18 $(CSCOMPILE) $(PLATFORM_DEBUG_FLAGS) /unsafe $(if $(MCS_MODE),,/warnaserror) /r:$(build_libdir)/mscorlib.dll /r:$(build_lib) /out:$@ $<
20 EXTRA_DISTFILES = \
21 Test/log-profiler-test.cs
23 CLEAN_FILES = \
24 $(topdir)/class/lib/$(PROFILE_DIRECTORY)/tests/log-profiler-test.exe \
25 $(topdir)/class/lib/$(PROFILE_DIRECTORY)/tests/log-profiler-test.exe.mdb \
26 $(topdir)/class/lib/$(PROFILE_DIRECTORY)/tests/log-profiler-test.pdb
28 include ../../build/library.make