source: branches/autotools-update/Clp/test/Makefile.am @ 2355

Last change on this file since 2355 was 2355, checked in by stefan, 6 months ago

remove CYGPATH_W in Makefile -I flags; rerun autotools

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1# Copyright (C) 2006 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Eclipse Public License.
4
5## $Id: Makefile.am 2355 2018-10-17 19:41:10Z stefan $
6
7# Author:  Andreas Waechter           IBM    2006-04-13
8
9AUTOMAKE_OPTIONS = foreign
10
11include $(top_srcdir)/BuildTools/Makemain.inc
12
13########################################################################
14#                         unitTest for OsiClp                          #
15########################################################################
16
17if COIN_HAS_OSITESTS
18
19noinst_PROGRAMS = osiUnitTest
20
21osiUnitTest_SOURCES = osiUnitTest.cpp OsiClpSolverInterfaceTest.cpp
22
23osiUnitTest_LDADD = ../src/libClp.la ../src/OsiClp/libOsiClp.la \
24        $(CLPLIB_LFLAGS) $(OSICLPLIB_LFLAGS) $(OSICLPUNITTEST_LFLAGS)
25
26AM_CPPFLAGS = -I$(srcdir)/../src -I$(srcdir)/../src/OsiClp $(OSICLPLIB_CFLAGS) $(OSICLPUNITTEST_CFLAGS)
27
28testdepend = osiUnitTest$(EXEEXT)
29endif
30
31########################################################################
32#                         unitTest for Clp                             #
33########################################################################
34
35unittestflags =
36osiunittestflags =
37if COIN_HAS_SAMPLE
38  unittestflags += -dirSample `$(CYGPATH_W) $(SAMPLE_DATA)`
39  osiunittestflags += -mpsDir=`$(CYGPATH_W) $(SAMPLE_DATA)`
40endif
41unittestflags += -unitTest
42if COIN_HAS_NETLIB
43  unittestflags += -dirNetlib `$(CYGPATH_W) $(NETLIB_DATA)` -netlib
44  osiunittestflags += -netlibDir=`$(CYGPATH_W) $(NETLIB_DATA)` -testOsiSolverInterface
45endif
46
47# We are using the CLP solver executable to do the unit test
48test: ../src/clp$(EXEEXT) $(testdepend)
49        ../src/clp$(EXEEXT) $(unittestflags) || exit 1
50        if test -e osiUnitTest$(EXEEXT) ; then \
51          ./osiUnitTest$(EXEEXT) $(osiunittestflags) || exit 1 ; \
52        fi
53
54.PHONY: test
55
56########################################################################
57#                          Cleaning stuff                              #
58########################################################################
59
60# Here we list everything that is not generated by the compiler, e.g.,
61# output files of a program
62
63CLEANFILES = *.mps.gz *.out.gz *.lp
64
Note: See TracBrowser for help on using the repository browser.