Page MenuHomeHEPForge

No OneTemporary

Index: trunk/test/Makefile.am
===================================================================
--- trunk/test/Makefile.am (revision 4031)
+++ trunk/test/Makefile.am (revision 4032)
@@ -1,331 +1,333 @@
## Makefile.am -- Makefile for executable WHIZARD test scripts
##
## Process this file with automake to produce Makefile.in
##
########################################################################
#
# Copyright (C) 1999-2013 by
# Wolfgang Kilian <kilian@physik.uni-siegen.de>
# Thorsten Ohl <ohl@physik.uni-wuerzburg.de>
# Juergen Reuter <juergen.reuter@desy.de>
# Christian Speckner <cnspeckn@googlemail.com>
#
# WHIZARD 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, or (at your option)
# any later version.
#
# WHIZARD 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., 675 Mass Ave, Cambridge, MA 02139, USA.
#
########################################################################
WHIZARD_DRIVER = run_whizard.sh
UNIT_TESTS = \
prclib_interfaces.run \
process_libraries.run \
omega_interface.run
TESTS_DEFAULT = \
empty.run \
vars.run \
md5.run \
errors.run \
extpar.run \
formats.run \
os_interface.run \
susyhit.run \
sorting.run \
color.run \
model.run \
particles.run \
beams.run \
polarizations.run \
lexers.run \
parser.run \
state_matrices.run \
interactions.run \
evaluators.run \
analysis.run \
expressions.run \
hepmc.run \
strfun.run \
phs_forests.run \
cascades.run \
commands.run \
processes.run \
slha_interface.run \
test_me.run \
hard_interactions.run \
events.run
XFAIL_TESTS_DEFAULT = \
errors.run
hard_interactions.run: test_me.run.log
events.run: test_me.run.log
if FC_IS_GFORTRAN_450
TESTS_USER_STRFUN =
else
TESTS_USER_STRFUN = \
user_strfun.run
endif
TESTS_REQ_OCAML = \
libs.run \
qedtest.run \
user_cuts.run \
$(TESTS_USER_STRFUN) \
helicity.run \
smtest.run \
defaultcuts.run \
restrictions.run \
decays.run \
alphas.run \
colors.run \
model.run \
cuts.run \
ilc.run \
mssmtest.run \
models.run \
pdf_builtin.run
XFAIL_TESTS_REQ_OCAML =
TESTS_REQ_LHAPDF = \
lhapdf.run
XFAIL_TESTS_REQ_LHAPDF =
TESTS_REQ_STDHEP = \
stdhep.run \
stdhep_up.run
XFAIL_TESTS_REQ_STDHEP =
TESTS_STATIC = \
static.run
XFAIL_TESTS_STATIC =
TESTS_REQ_SHOWER = \
fsr_shower.run
# isr_shower.run
XFAIL_TESTS_REQ_SHOWER =
TESTS_EXTENDED = \
sm_ext.run \
mssm_ext.run \
nmssm_ext.run
XFAIL_TESTS_EXTENDED =
TESTS_REQ_GAMELAN = \
plain.run \
test_me.run \
commands.run \
$(TESTS_REQ_OCAML) \
$(TESTS_REQ_LHAPDF) \
$(TESTS_REQ_STDHEP) \
$(TESTS_REQ_SHOWER) \
$(TESTS_EXTENDED)
TEST_DRIVERS_RUN = \
$(UNIT_TESTS) \
$(TESTS_DEFAULT) \
$(TESTS_REQ_OCAML) \
$(TESTS_REQ_LHAPDF) \
$(TESTS_REQ_STDHEP) \
$(TESTS_REQ_SHOWER) \
$(TESTS_STATIC) \
$(TESTS_EXTENDED)
TEST_DRIVERS_SH = $(TEST_DRIVERS_RUN:.run=.sh)
EXTRA_DIST = $(TEST_DRIVERS_SH)
########################################################################
TESTS =
XFAIL_TESTS =
# Temporarily, only the new unit tests are executed
if DEFAULT_CHECKS
TESTS += $(UNIT_TESTS)
endif DEFAULT_CHECKS
# Temporarily disable those
if DEFAULT_CHECKS_ORIG
TESTS += $(TESTS_DEFAULT)
XFAIL_TESTS += $(XFAIL_TESTS_DEFAULT)
if OCAML_AVAILABLE
TESTS += $(TESTS_REQ_OCAML)
XFAIL_TESTS += $(XFAIL_TESTS_REQ_OCAML)
if LHAPDF_AVAILABLE
TESTS += $(TESTS_REQ_LHAPDF)
XFAIL_TESTS += $(XFAIL_TESTS_REQ_LHAPDF)
endif LHAPDF_AVAILABLE
if STDHEP_AVAILABLE
TESTS += $(TESTS_REQ_STDHEP)
XFAIL_TESTS += $(XFAIL_TESTS_REQ_STDHEP)
endif STDHEP_AVAILABLE
if SHOWER_AVAILABLE
TESTS += $(TESTS_REQ_SHOWER)
XFAIL_TESTS += $(XFAIL_TESTS_REQ_SHOWER)
endif SHOWER_AVAILABLE
if STATIC_AVAILABLE
TESTS += $(TESTS_STATIC)
XFAIL_TESTS += $(XFAIL_TESTS_STATIC)
endif STATIC_AVAILABLE
if EXT_NUM_CHECKS
TESTS += $(TESTS_EXTENDED)
XFAIL_TESTS += $(XFAIL_TESTS_EXTENDED)
endif EXT_NUM_CHECKS
endif OCAML_AVAILABLE
endif DEFAULT_CHECKS_ORIG
mssm_ext.run: $(EXTENDED_MSSM_TEST_DRIVERS)
echo '#! /bin/sh' >$@
for driver in $(EXTENDED_MSSM_TEST_DRIVERS); do \
echo ./$$driver; \
done >>$@
chmod +x $@
nmssm_ext.run: $(EXTENDED_NMSSM_TEST_DRIVERS)
echo '#! /bin/sh' >$@
for driver in $(EXTENDED_NMSSM_TEST_DRIVERS); do \
echo ./$$driver; \
done >>$@
chmod +x $@
EXTENDED_MSSM_TEST_DRIVERS = \
mssm_ext-ee.run mssm_ext-ee2.run \
mssm_ext-en.run mssm_ext-tn.run \
mssm_ext-uu.run mssm_ext-uu2.run mssm_ext-uuckm.run \
mssm_ext-dd.run mssm_ext-dd2.run mssm_ext-ddckm.run \
mssm_ext-bb.run mssm_ext-bt.run mssm_ext-tt.run \
mssm_ext-ug.run mssm_ext-dg.run \
mssm_ext-aa.run mssm_ext-wa.run mssm_ext-za.run \
mssm_ext-ww.run mssm_ext-wz.run mssm_ext-zz.run \
mssm_ext-gg.run mssm_ext-ga.run mssm_ext-gw.run mssm_ext-gz.run
EXTENDED_NMSSM_TEST_DRIVERS = \
nmssm_ext-aa.run nmssm_ext-bb1.run nmssm_ext-bb2.run \
nmssm_ext-bt.run nmssm_ext-dd1.run \
nmssm_ext-dd2.run nmssm_ext-ee1.run \
nmssm_ext-ee2.run nmssm_ext-en.run \
nmssm_ext-ga.run nmssm_ext-gg.run \
nmssm_ext-gw.run nmssm_ext-gz.run \
nmssm_ext-qg.run nmssm_ext-tn.run \
nmssm_ext-tt1.run nmssm_ext-tt2.run \
nmssm_ext-uu1.run nmssm_ext-uu2.run \
nmssm_ext-wa.run nmssm_ext-ww1.run nmssm_ext-ww2.run \
nmssm_ext-wz.run nmssm_ext-za.run
# VPATH = $(top_builddir)/share/test:$(top_srcdir)/share/test:$(srcdir)
VPATH = $(srcdir)
SUFFIXES = .sh .run
.sh.run:
@rm -f $@
@if test -f $(top_builddir)/share/test/$*.sin; then \
$(SED) 's|@script@|$(top_builddir)/share/test/$*|g' $< > $@; \
elif test -f $(top_srcdir)/share/test/$*.sin; then \
$(SED) 's|@script@|$(top_srcdir)/share/test/$*|g' $< > $@; \
else \
echo "$*.sin not found!" 1>&2; \
exit 2; \
fi
chmod +x $@
commands.run: commands2.sin
plain.run: TEST.mdl
susyhit.run: susyhit.in
user_cuts.run: user_cuts.f90
user_strfun.run: user_strfun.f90
user_cuts.f90: $(top_builddir)/share/test/user_cuts.f90
cp $< $@
user_strfun.f90: $(top_builddir)/share/test/user_strfun.f90
cp $< $@
TEST.mdl: $(top_srcdir)/share/test/TEST.mdl
cp $< $@
commands2.sin: $(top_srcdir)/share/test/commands2.sin
cp $< $@
if MPOST_AVAILABLE
$(TESTS_REQ_GAMELAN): gamelan.sty
gamelan.sty: $(top_builddir)/src/gamelan/gamelan.sty
cp $< $@
$(top_builddir)/src/gamelan/gamelan.sty:
$(MAKE) -C $(top_builddir)/src/gamelan gamelan.sty
endif
susyhit.in: $(top_builddir)/share/test/susyhit.in
cp $< $@
BUILT_SOURCES = \
TESTFLAG \
ref-output \
err-output
# If this file is found in the working directory, WHIZARD
# will use the paths for the uninstalled version (source/build tree),
# otherwise it uses the installed version
TESTFLAG:
touch $@
# The reference output files are in the source directory. Copy them here.
ref-output: $(top_srcdir)/share/test/ref-output
cp -r $< $@
# The output files from self tests go here.
err-output:
mkdir -p err-output
## installcheck runs the test scripts with the TESTFLAG removed.
installcheck-local: notestflag check-am
notestflag:
rm -f TESTFLAG
.PHONY: notestflag
## Remove generated files
clean-local:
rm -f gamelan.sty TESTFLAG TEST.mdl
rm -f whizard.static
rm -f commands2.sin
rm -f *.run *.log slha_test.out
- rm -f *.f90 *.mod *.o *.la
+ rm -f *.f90 *.c *.mod *.o *.la
+ rm -f *.makefile
+ rm -fr ref-output err-output
rm -f *.phs *.vg *.vgb *.evt *.evx *.lhef *.hepmc *.hepevt
rm -f *.tmp *.dat *.debug *.lha *.short *.long *.athena
rm -f *.stdhep *.stdhep_up fort.81
rm -f *.tex *.mp *.mpx *.[1-9] *.[1-9][0-9] *.[1-9][0-9][0-9]
rm -f *.ltp *.aux *.dvi *.ps *.pdf so_test.*
rm -f slhaspectrum.in suspect2.out suspect2_lha.out
rm -f susyhit.in susyhit_slha.out suspect2_lha.in
## Remove backup files
maintainer-clean-local: maintainer-clean-fc
-rm -f *~
.PHONY: maintainer-clean-local

File Metadata

Mime Type
text/x-diff
Expires
Tue, Nov 19, 2:54 PM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3804863
Default Alt Text
(8 KB)

Event Timeline