prof_ldflags = -avoid-version
endif
+# FIXME fix the profiler tests to work with coop.
+if !ENABLE_COOP
+if !NACL_CODEGEN
+check_targets = testlog
+endif
+endif
+
endif
endif
endif
mprof_report_SOURCES = decode.c
mprof_report_LDADD = $(Z_LIBS) $(GLIB_LIBS) $(LIBICONV)
-# FIXME fix the profiler tests to work with coop.
-if ENABLE_COOP
-DISABLE_PROFILER_TESTS=1
-endif
PLOG_TESTS_SRC=test-alloc.cs test-busy.cs test-monitor.cs test-excleave.cs \
test-heapshot.cs test-traces.cs
PLOG_TESTS=$(PLOG_TESTS_SRC:.cs=.exe)
$(MCS) -out:$@ $<
testlog: $(PLOG_TESTS)
- if [ "z$(DISABLE_PROFILER_TESTS)" != z1 ]; then \
- $(with_mono_path) perl $(srcdir)/ptestrunner.pl $(top_builddir) ; \
- else \
- echo "Profiler tests disabled with cooperative GC" ; \
- fi
-
+ $(with_mono_path) perl $(srcdir)/ptestrunner.pl $(top_builddir)
-if NACL_CODEGEN
-check-local:
-else
-check-local: testlog
-endif
+check-local: $(check_targets)
suppressiondir = $(datadir)/mono-$(API_VER)/mono/profiler
suppression_DATA = mono-profiler-log.suppression