blob: 2ed3f9ca7ef554e14a133f9083bb0fe8077aa5ba [file] [log] [blame]
#
# testcases Makefile.
#
# Copyright (C) 2009, Cisco Systems Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Garrett Cooper, July 2009
#
top_srcdir ?= ..
include $(top_srcdir)/include/mk/env_pre.mk
# XXX (garrcoop):
# 1. ballista is broken (working on it).
# 2. kdump shouldn't be compiled by default, because it's runtime based and
# WILL crash the build host (the tests need to be fixed to just build, not run).
# 3. mce-test doesn't fit cleanly in the build, yet.
# 4. pounder21 is just broken.
FILTER_OUT_DIRS := ballista kdump mce-test open% pounder21
# XXX (garrcoop): Not sure why realtime is still in this list; this was the
# original list of disabled items...
# XXX (garrcoop): kdump was in this list.
# XXX (garrcoop): open_hpi_testsuite was in this list.
ifneq ($(UCLINUX),1)
FILTER_OUT_DIRS += audit-test DOTS realtime
endif
open_posix_testsuite:
mkdir -p $@
trunk-all: open_posix_testsuite-all
trunk-clean:: open_posix_testsuite-clean
#trunk-install: open_posix_testsuite-install
open_posix_testsuite-%: open_posix_testsuite
$(MAKE) -C $^ top_srcdir=$(abs_top_srcdir)/testcases/$^ $*
include $(top_srcdir)/include/mk/generic_trunk_target.mk