# Copyright (C) 2006, 2007, 2008 Thomas Cort <tom@tomcort.com>
#
# 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 3 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, see <http://www.gnu.org/licenses/>.

INCLUDE_DIRECTORIES(..)
ADD_EXECUTABLE(proccpuinfotest proccpuinfotest.c)
TARGET_LINK_LIBRARIES(proccpuinfotest proccpuinfo)

ADD_TEST(alpha alpha)
ADD_TEST(arm arm)
ADD_TEST(arm.genflags arm.genflags)
ADD_TEST(cris cris)
ADD_TEST(frv frv)
ADD_TEST(hppa hppa)
ADD_TEST(hppa.genflags hppa.genflags)
ADD_TEST(i386 i386)
ADD_TEST(i386.genflags i386.genflags)
ADD_TEST(ia64 ia64)
ADD_TEST(ia64.genflags ia64.genflags)
ADD_TEST(m32r m32r)
ADD_TEST(m68k m68k)
ADD_TEST(m68k.genflags m68k.genflags)
ADD_TEST(mips mips)
ADD_TEST(powerpc powerpc)
ADD_TEST(powerpc.genflags powerpc.genflags)
ADD_TEST(powerpc64 powerpc64)
ADD_TEST(s390 s390)
ADD_TEST(sh sh)
ADD_TEST(sparc sparc)
ADD_TEST(vax vax)
ADD_TEST(x86_64 x86_64)


