Page MenuHomeHEPForge

No OneTemporary

Index: trunk/share/test/Makefile.am
===================================================================
--- trunk/share/test/Makefile.am (revision 4435)
+++ trunk/share/test/Makefile.am (revision 4436)
@@ -1,307 +1,309 @@
## Makefile.am -- Makefile for WHIZARD tests
##
## 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.
#
########################################################################
EXTRA_DIST = \
$(TESTSUITE_MACROS) $(TESTSUITES_M4) $(TESTSUITES_SIN) \
$(REF_OUTPUT_FILES) \
testproc_3.phs \
user_cuts.f90 user_strfun.f90 susyhit.in TEST.mdl
TESTSUITE_MACROS = testsuite.m4
REF_OUTPUT_FILES = \
ref-output/sf_aux_1.ref \
ref-output/sf_aux_2.ref \
ref-output/sf_aux_3.ref \
ref-output/sf_mappings_1.ref \
ref-output/sf_mappings_2.ref \
ref-output/sf_base_1.ref \
ref-output/sf_base_2.ref \
ref-output/sf_base_3.ref \
ref-output/sf_base_4.ref \
ref-output/sf_base_5.ref \
ref-output/sf_base_6.ref \
ref-output/sf_base_7.ref \
ref-output/sf_base_8.ref \
ref-output/sf_base_9.ref \
ref-output/sf_base_10.ref \
ref-output/sf_base_11.ref \
ref-output/sf_base_12.ref \
ref-output/phs_base_1.ref \
ref-output/phs_base_2.ref \
ref-output/phs_base_3.ref \
ref-output/phs_single_1.ref \
ref-output/phs_single_2.ref \
ref-output/phs_single_3.ref \
ref-output/phs_wood_1.ref \
ref-output/phs_wood_2.ref \
ref-output/phs_wood_3.ref \
ref-output/phs_wood_4.ref \
ref-output/phs_wood_5.ref \
ref-output/rng_base_1.ref \
ref-output/rng_tao_1.ref \
ref-output/mci_base_1.ref \
ref-output/mci_base_2.ref \
ref-output/mci_base_3.ref \
ref-output/mci_base_4.ref \
ref-output/mci_base_5.ref \
ref-output/mci_base_6.ref \
ref-output/mci_base_7.ref \
ref-output/mci_midpoint_1.ref \
ref-output/mci_midpoint_2.ref \
ref-output/mci_midpoint_3.ref \
ref-output/mci_midpoint_4.ref \
ref-output/mci_midpoint_5.ref \
ref-output/mci_midpoint_6.ref \
ref-output/mci_vamp_1.ref \
ref-output/mci_vamp_2.ref \
ref-output/mci_vamp_3.ref \
ref-output/mci_vamp_4.ref \
ref-output/mci_vamp_5.ref \
ref-output/mci_vamp_6.ref \
ref-output/mci_vamp_7.ref \
ref-output/mci_vamp_8.ref \
ref-output/mci_vamp_9.ref \
ref-output/mci_vamp_10.ref \
ref-output/mci_vamp_11.ref \
ref-output/mci_vamp_12.ref \
ref-output/prclib_interfaces_1.ref \
ref-output/prclib_interfaces_2.ref \
ref-output/prclib_interfaces_3.ref \
ref-output/prclib_interfaces_4.ref \
ref-output/prclib_interfaces_5.ref \
ref-output/prclib_interfaces_6.ref \
ref-output/prclib_interfaces_7.ref \
ref-output/particle_specifiers_1.ref \
ref-output/process_libraries_1.ref \
ref-output/process_libraries_2.ref \
ref-output/process_libraries_3.ref \
ref-output/process_libraries_4.ref \
ref-output/process_libraries_5.ref \
ref-output/process_libraries_6.ref \
ref-output/prclib_stacks_1.ref \
ref-output/prclib_stacks_2.ref \
ref-output/test_me_1.ref \
ref-output/test_me_2.ref \
ref-output/subevt_expr_1.ref \
ref-output/subevt_expr_2.ref \
ref-output/processes_1.ref \
ref-output/processes_2.ref \
ref-output/processes_3.ref \
ref-output/processes_4.ref \
ref-output/processes_5.ref \
ref-output/processes_6.ref \
ref-output/processes_7.ref \
ref-output/processes_8.ref \
ref-output/processes_9.ref \
ref-output/processes_10.ref \
ref-output/processes_11.ref \
ref-output/processes_12.ref \
ref-output/process_stacks_1.ref \
ref-output/process_stacks_2.ref \
ref-output/events_1.ref \
ref-output/events_2.ref \
ref-output/events_3.ref \
ref-output/events_4.ref \
ref-output/omega_interface_1.ref \
ref-output/omega_interface_2.ref \
ref-output/eio_base_1.ref \
ref-output/iterations_1.ref \
ref-output/iterations_2.ref \
ref-output/rt_data_1.ref \
ref-output/rt_data_2.ref \
ref-output/rt_data_3.ref \
ref-output/rt_data_4.ref \
ref-output/rt_data_5.ref \
ref-output/dispatch_1.ref \
ref-output/dispatch_2.ref \
ref-output/dispatch_3.ref \
ref-output/dispatch_4.ref \
ref-output/dispatch_5.ref \
ref-output/dispatch_6.ref \
ref-output/process_configurations_1.ref \
ref-output/process_configurations_2.ref \
ref-output/compilations_1.ref \
ref-output/compilations_2.ref \
ref-output/integrations_1.ref \
ref-output/integrations_2.ref \
ref-output/integrations_3.ref \
ref-output/integrations_4.ref \
ref-output/integrations_5.ref \
ref-output/integrations_6.ref \
ref-output/integrations_7.ref \
ref-output/simulations_1.ref \
ref-output/simulations_2.ref \
ref-output/simulations_3.ref \
ref-output/commands_1.ref \
ref-output/commands_2.ref \
ref-output/commands_3.ref \
ref-output/commands_4.ref \
ref-output/commands_5.ref \
ref-output/commands_6.ref \
ref-output/commands_7.ref \
ref-output/commands_8.ref \
ref-output/commands_9.ref \
ref-output/testproc_1.ref \
ref-output/testproc_2.ref \
ref-output/testproc_3.ref \
ref-output/qedtest_1.ref \
ref-output/qedtest_2.ref \
ref-output/qedtest_3.ref \
ref-output/qedtest_4.ref \
ref-output/qedtest_5.ref \
- ref-output/qedtest_6.ref
+ ref-output/qedtest_6.ref \
+ ref-output/qcdtest_1.ref
TESTSUITES_M4 = \
$(MISC_TESTS_M4) \
$(MSSM_EXT_M4) \
$(NMSSM_EXT_M4)
TESTSUITES_SIN = \
$(UNIT_TESTS_SIN) \
$(MISC_TESTS_SIN) \
$(MSSM_EXT_SIN) \
$(NMSSM_EXT_SIN)
MISC_TESTS_M4 =
UNIT_TESTS_SIN = \
sf_aux.sin \
sf_mappings.sin \
sf_base.sin \
phs_base.sin \
phs_single.sin \
phs_wood.sin \
rng_base.sin \
rng_tao.sin \
mci_base.sin \
mci_midpoint.sin \
mci_vamp.sin \
prclib_interfaces.sin \
particle_specifiers.sin \
process_libraries.sin \
prclib_stacks.sin \
test_me.sin \
subevt_expr.sin \
processes.sin \
process_stacks.sin \
events.sin \
omega_interface.sin \
eio_base.sin \
iterations.sin \
rt_data.sin \
dispatch.sin \
process_configurations.sin \
compilations.sin \
integrations.sin \
simulations.sin \
commands.sin
MISC_TESTS_SIN = \
empty.sin \
testproc_1.sin \
testproc_2.sin \
testproc_3.sin \
qedtest_1.sin \
qedtest_2.sin \
qedtest_3.sin \
qedtest_4.sin \
qedtest_5.sin \
- qedtest_6.sin
+ qedtest_6.sin \
+ qcdtest_1.sin
# vars.sin errors.sin md5.sin \
# beams.sin cascades.sin alphas.sin \
# color.sin commands.sin \
# colors.sin hepmc.sin model.sin \
# state_matrices.sin sorting.sin \
# analysis.sin strfun.sin slha_interface.sin \
# expressions.sin phs_forests.sin \
# evaluators.sin os_interface.sin \
# cuts.sin parser.sin particles.sin \
# decays.sin polarizations.sin \
# defaultcuts.sin process_libraries.sin \
# extpar.sin formats.sin interactions.sin \
# helicity.sin lexers.sin \
# ilc.sin \
# jets.sin \
# lhapdf.sin \
# libs.sin \
# user_cuts.sin user_strfun.sin \
# mssmtest.sin \
# plain.sin \
# qedtest.sin \
# restrictions.sin \
# stdhep.sin \
# stdhep_up.sin \
# set_ptcut.sin \
# smtest.sin \
# static.sin static2.sin \
# susyhit.sin \
# sm_ext.sin \
# models.sin \
# test_me.sin \
# hard_interactions.sin \
# pdf_builtin.sin \
# fsr_shower.sin isr_shower.sin
MSSM_EXT_M4 = \
mssm_ext-ee.m4 mssm_ext-ee2.m4 \
mssm_ext-en.m4 mssm_ext-tn.m4 \
mssm_ext-uu.m4 mssm_ext-uu2.m4 mssm_ext-uuckm.m4 \
mssm_ext-dd.m4 mssm_ext-dd2.m4 mssm_ext-ddckm.m4 \
mssm_ext-bb.m4 mssm_ext-bt.m4 mssm_ext-tt.m4 \
mssm_ext-ug.m4 mssm_ext-dg.m4 \
mssm_ext-aa.m4 mssm_ext-wa.m4 mssm_ext-za.m4 \
mssm_ext-ww.m4 mssm_ext-wz.m4 mssm_ext-zz.m4 \
mssm_ext-gg.m4 mssm_ext-ga.m4 mssm_ext-gw.m4 mssm_ext-gz.m4
NMSSM_EXT_M4 = \
nmssm_ext-aa.m4 nmssm_ext-bb1.m4 nmssm_ext-bb2.m4 \
nmssm_ext-bt.m4 nmssm_ext-dd1.m4 \
nmssm_ext-dd2.m4 nmssm_ext-ee1.m4 \
nmssm_ext-ee2.m4 nmssm_ext-en.m4 \
nmssm_ext-ga.m4 nmssm_ext-gg.m4 \
nmssm_ext-gw.m4 nmssm_ext-gz.m4 \
nmssm_ext-qg.m4 nmssm_ext-tn.m4 \
nmssm_ext-tt1.m4 nmssm_ext-tt2.m4 \
nmssm_ext-uu1.m4 nmssm_ext-uu2.m4 \
nmssm_ext-wa.m4 nmssm_ext-ww1.m4 nmssm_ext-ww2.m4 \
nmssm_ext-wz.m4 nmssm_ext-za.m4 \
nmssm_ext-zz1.m4 nmssm_ext-zz2.m4
MSSM_EXT_SIN = $(MSSM_EXT_M4:.m4=.sin)
NMSSM_EXT_SIN = $(NMSSM_EXT_M4:.m4=.sin)
all-local: $(TESTSUITES_SIN)
if M4_AVAILABLE
SUFFIXES = .m4 .sin
.m4.sin:
$(M4) $(srcdir)/$(TESTSUITE_MACROS) $< > $@
endif M4_AVAILABLE
Index: trunk/share/test/qcdtest_1.sin
===================================================================
--- trunk/share/test/qcdtest_1.sin (revision 0)
+++ trunk/share/test/qcdtest_1.sin (revision 4436)
@@ -0,0 +1,26 @@
+# Sindarin input for WHIZARD self-test
+# Process g g -> u ubar
+
+library = "qcdtest_1_lib"
+model = "QCD"
+alphas = 0.1178
+
+?logging = true
+
+$method = "omega"
+process qcdtest_1_p1 = "g", "g" => "u", "ubar"
+
+compile ()
+
+$phs_method = "wood"
+
+$integration_method = "vamp"
+
+iterations = 3:1000:"g", 3:1000
+sqrts = 1000
+
+cuts = all Pt > 100 [u:ubar]
+
+# openmp_num_threads = 1
+
+integrate (qcdtest_1_p1)
Index: trunk/share/test/ref-output/qcdtest_1.ref
===================================================================
--- trunk/share/test/ref-output/qcdtest_1.ref (revision 0)
+++ trunk/share/test/ref-output/qcdtest_1.ref (revision 4436)
@@ -0,0 +1,25 @@
+$method = "omega"
+$phs_method = "wood"
+$integration_method = "vamp"
+sqrts = 1.000000000000E+03
+| Generating phase space configuration ...
+| ... success.
+| Phase space configuration: 5 channels, 2 dimensions
+| Starting integration for process 'qcdtest_1_p1'
+|=============================================================================|
+| It Calls Integral[fb] Error[fb] Err[%] Acc Eff[%] Chi2 N[It] |
+|=============================================================================|
+ 1 1000 1.6032382E+04 2.75E+02 1.71 0.54* 0.00
+ 2 1000 1.6322485E+04 2.41E+02 1.48 0.47* 0.00
+ 3 1000 1.6804478E+04 2.11E+02 1.25 0.40* 0.00
+|-----------------------------------------------------------------------------|
+ 3 3000 1.6386448E+04 3.90E+02 2.38 1.30 0.00 0.00 3
+|-----------------------------------------------------------------------------|
+ 4 1000 1.6160060E+04 1.97E+02 1.22 0.39* 0.00
+ 5 1000 1.5817144E+04 1.96E+02 1.24 0.39 0.00
+ 6 1000 1.6308253E+04 1.86E+02 1.14 0.36* 0.00
+|-----------------------------------------------------------------------------|
+ 6 3000 1.6095152E+04 2.52E+02 1.57 0.86 0.00 0.00 3
+|=============================================================================|
+| WHIZARD run finished.
+|=============================================================================|
Index: trunk/test/qcdtest_1.sh
===================================================================
--- trunk/test/qcdtest_1.sh (revision 0)
+++ trunk/test/qcdtest_1.sh (revision 4436)
@@ -0,0 +1,5 @@
+#!/bin/sh
+### Check WHIZARD for a simple test process
+echo "Running script $0"
+./run_whizard.sh @script@ --no-logging
+diff ref-output/`basename @script@`.ref `basename @script@`.log
Index: trunk/test/Makefile.am
===================================================================
--- trunk/test/Makefile.am (revision 4435)
+++ trunk/test/Makefile.am (revision 4436)
@@ -1,372 +1,373 @@
## 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 = \
sf_aux.run \
sf_mappings.run \
sf_base.run \
phs_base.run \
phs_single.run \
phs_wood.run \
rng_base.run \
rng_tao.run \
mci_base.run \
mci_midpoint.run \
mci_vamp.run \
prclib_interfaces.run \
particle_specifiers.run \
process_libraries.run \
prclib_stacks.run \
test_me.run \
subevt_expr.run \
processes.run \
process_stacks.run \
events.run \
eio_base.run \
iterations.run \
rt_data.run \
dispatch.run \
process_configurations.run \
commands.run
UNIT_TESTS_REQ_OCAML = \
omega_interface.run \
compilations.run \
integrations.run \
simulations.run
TESTS_DEFAULT = \
empty.run \
testproc_1.run \
testproc_2.run \
testproc_3.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 \
# slha_interface.run \
# hard_interactions.run
#events.run
#test_me.run
#processes.run
XFAIL_TESTS_DEFAULT = \
errors.run
#hard_interactions.run: test_me.run.log
TESTS_USER_STRFUN = \
user_strfun.run
TESTS_REQ_OCAML = \
qedtest_1.run \
qedtest_2.run \
qedtest_3.run \
qedtest_4.run \
qedtest_5.run \
- qedtest_6.run #\
+ qedtest_6.run \
+ qcdtest_1.run #\
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 \
commands.run \
$(TESTS_REQ_OCAML) \
$(TESTS_REQ_LHAPDF) \
$(TESTS_REQ_STDHEP) \
$(TESTS_REQ_SHOWER) \
$(TESTS_EXTENDED)
#test_me.run
TEST_DRIVERS_RUN = \
$(UNIT_TESTS) \
$(UNIT_TESTS_REQ_OCAML) \
$(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 =
if OCAML_AVAILABLE
UNIT_TESTS += $(UNIT_TESTS_REQ_OCAML)
endif OCAML_AVAILABLE
# Temporarily, only the new unit tests are executed
if DEFAULT_CHECKS
TESTS += $(UNIT_TESTS)
endif DEFAULT_CHECKS
# Execute those as well
if DEFAULT_CHECKS
TESTS += $(TESTS_DEFAULT)
#XFAIL_TESTS += $(XFAIL_TESTS_DEFAULT)
endif DEFAULT_CHECKS
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
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 $@
testproc_3.run: testproc_3.phs
testproc_3.phs: $(top_builddir)/share/test/testproc_3.phs
cp $< $@
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 $< $@
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
mkdir -p ref-output
for f in $</*.ref; do cp $$f $@; done
# 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 *.run *.log slha_test.out
rm -f *.f90 *.c *.mod *.o *.la
rm -f *.makefile
rm -rf err-output
rm -rf ref-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, 4:24 PM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3805148
Default Alt Text
(22 KB)

Event Timeline