diff --git a/toolkit/xre/test/win/Makefile.in b/toolkit/xre/test/win/Makefile.in index 9f18073b1af5..331a8a4fdcaa 100644 --- a/toolkit/xre/test/win/Makefile.in +++ b/toolkit/xre/test/win/Makefile.in @@ -12,5 +12,3 @@ libs:: TestXREMakeCommandLineWin.ini check:: @echo 'Running TestXREMakeCommandLineWin tests' @$(RUN_TEST_PROGRAM) $(FINAL_TARGET)/TestXREMakeCommandLineWin.exe - @echo 'Running TestDllInterceptor tests' - @$(RUN_TEST_PROGRAM) $(FINAL_TARGET)/TestDllInterceptor.exe diff --git a/toolkit/xre/test/win/moz.build b/toolkit/xre/test/win/moz.build index 370e8f4c8819..d69dbf6d7aa3 100644 --- a/toolkit/xre/test/win/moz.build +++ b/toolkit/xre/test/win/moz.build @@ -5,7 +5,6 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. SIMPLE_PROGRAMS = [ - 'TestDllInterceptor', 'TestXREMakeCommandLineWin', ] @@ -13,6 +12,14 @@ SOURCES += [ '%s.cpp' % s for s in SIMPLE_PROGRAMS ] +CPP_UNIT_TESTS += [ + 'TestDllInterceptor', +] + +SOURCES += [ + '%s.cpp' % s for s in CPP_UNIT_TESTS +] + DEFINES['NS_NO_XPCOM'] = True LOCAL_INCLUDES += [