# # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # Makefile for installing and running xpcshell-based tests. You can use # this file as template when creating tests for a new module. Don't # forget to change the lines marked below. See # http://developer.mozilla.org/en/docs/Writing_xpcshell-based_unit_tests # for detailed instructions. # # Note: DEPTH should be set to the relative path to mozilla/ DEPTH = @DEPTH@ topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ relativesrcdir = @relativesrcdir@ include $(DEPTH)/config/autoconf.mk # Note: set the test module's name to test_ MODULE = test_testing_xpcshell_example # This is a list of directories containing tests to run, separated by spaces. # Most likely, tho, you won't use more than one directory here. XPCSHELL_TESTS = \ unit \ $(NULL) include $(topsrcdir)/config/rules.mk