<?xml version="1.0" encoding="UTF-8"?>
<!-- MAD regression test scenario -->
<test-scenario xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TestScenario.xsd">
   <target name="aperture" responsible="Bernard.Jeanneret@cern.ch">
        <test input="lhccell.madx" output="lhccell.out"/>
   </target>
   <target name="c6t" responsible="Frank.Schmidt@cern.ch">
        <test input="convert_example_rhic.madx" output="convert_example_rhic.out" subdir="RHIC"/>
	<test input="convert_example_lhc.madx" output="convert_example_lhc.out" subdir="LHC"/>
   </target>
   <target name="cororbit" responsible="Werner.Herr@cern.ch">
	<test input ="example1.mad" output="example1.out" subdir="Example1"/>
        <test input ="example2.mad" output="example2.out" subdir="Example2"/>
        <test input ="example3.mad" output="example3.out" subdir="Example3"/>
   </target>
   <target name="dynap" responsible="Frank.Zimmermann@cern.ch">
	<test input ="fodo.thin.mad" output="fodo.thin.out" subdir="FODO"/>
        <test input ="footprint.mad" output="footprint.out" subdir="LHC_footprint"/>
   </target>
   <target name="emit" responsible="Rogelio.Tomas@cern.ch">
	<test input ="job.madx" output="job.out" subdir="ALBA"/>
	<test input ="job.madx" output="job.out" subdir="ALBA-tilt"/>
	<test input ="lep.madx" output="lep.out" subdir="LEP"/>
   </target>
   <target name="error" responsible="Werner.Herr@cern.ch">
	<test input ="example1.mad" output="example1.out"/>
	<test input ="example2.mad" output="example2.out"/>
	<test input ="example3.mad" output="example3.out"/>
   </target>
   <target name="foot" responsible="Frank.Schmidt@cern.ch">
	<test input ="footprint.mad" output="footprint.out"/>
   </target>
   <target name="ibs" responsible="Frank.Zimmermann@cern.ch">
	<test input ="ibs.mad" output="ibs.out" subdir="LhcProtonRun"/>
	<test input ="ibs_ion.mad" output="ibs_ion.out" subdir="LhcProtonIons"/>
	<test input ="ibs_clic_dr.mad" output="ibs_clic_dr.out" subdir="ClicDampingRing"/>
	<test input ="ibs.lhcinjection.mad" output="ibs.lhcinjection.out" subdir="LhcInjection"/>
	<test input ="ibs.lhctopenergy.crossingangles.mad" output="ibs.lhctopenergy.crossingangles.out" subdir="LhcTopEnergy"/>
   </target>
   <target name="makethin" responsible="Helmut.Burkhardt@cern.ch">
	<test input ="fivecell.madx" output="fivecell.out"/>
        <test input ="lhc_example.madx" output="lhc_example.out"/>
        <!-- missing test input ="asp1b.madx" output="example3.out"/ -->
   </target>
   <target name="match" responsible="Emanuele.Laface@cern.ch">
        <!-- warning - the list of targets available in the README file is different but specified files do not exist -->
        <test input ="job.lhc.2chromaticity.madx" output="job.lhc.2chromaticity.out" subdir="lhc.2chromaticity"/>
        <test input ="job.lhc.chromaticity.madx" output="job.lhc.chromaticity.out" subdir="lhc.chromaticity"/>
        <test input ="job.lhc.insertion-upper.madx" output="job.lhc.insertion-upper.out" subdir="lhc.insertion-upper"/>
        <test input= "job.lhc.insertion.madx" output="job.lhc.insertion.out" subdir="lhc.insertion"/>
        <test input= "job.lhc.iporbit.madx" output="job.lhc.iporbit.out" subdir="lhc.iporbit"/>
        <test input= "job.lhc.qpp.madx" output="job.lhc.qpp.out" subdir="lhc.qpp"/>
        <test input= "job.lhc.tune.madx" output="job.lhc.tune.out" subdir="lhc.tune"/>
        <test input= "job.lhcV65.ir8squeeze.madx" output="job.lhcV65.ir8squeeze.out" subdir="lhcV65.ir8squeeze"/>
        <test input= "job.lhcV65.tune.jac.madx" output="job.lhcV65.tune.jac.out" subdir="lhcV65.tune.jac"/>
        <test input= "job.lhcV65.tune.madx" output="job.lhcV65.tune.out" subdir="lhcV65.tune"/>
        <test input= "job.lhcV65.wx.jac.madx" output="job.lhcV65.wx.jac.out" subdir="lhcV65.wx.jac"/>
   </target>
   <target name="plot" responsible="Olav.Ejner.Berrig@cern.ch">
	<test input ="job.plottest.madx" output="job.plottest.out"/>
	<test input ="job.plottest_nv.madx" output="job.plottest_nv.out"/>
	<test input ="job.eberhardt.madx" output="job.eberhardt.out"/>
   </target>
   <target name="ptc_accel" responsible="Frank.Schmidt@cern.ch">
       <!-- skip the 'track' test which creates hundreds of files -->
        <test input = "track.ptc.madx" output="track.ptc.out" subdir="track"/>
	<test input ="twiss.ptc.madx" output="twiss.ptc.out" subdir="twiss"/>
   </target>   
   <target name="ptc_madx_interface" responsible="Piotr.Skowronski@cern.ch">
	<test input ="dumpmaps.ptc.madx" output="dumpmaps.ptc.out" subdir="dumpmaps"/>
        <!-- skip 'eplacement' with contains 'C' files -->
	<test input ="intstate.ptc.madx" output="intstate.ptc.out" subdir="intstate"/>
	<test input ="knobs.madx" output="knobs.out" subdir="knobs"/>	
        <test input ="matchknobs.madx" output="matchknobs.out" subdir="matchknobs"/>
        <test input ="matchwithknobs.madx" output="matchwithknobs.out" subdir="matchwithknobs"/>
        <test input ="moments.madx" output="moments.out" subdir="moments"/>
        <test input ="chicane.madx" output="chicane.out" subdir="ptc_secordmatch"/>
        <test input ="rviewer.madx" output="rviewer.out" subdir="rviewer"/>
        <test input ="psr.madx" output="psr.out" subdir="thirdordermatch"/>
        <!-- for the same 'thirdordermatch' target, omit rhic.madx which generates too big a file for comparison (until we find a workaround...)  -->
   </target>
   <target name="ptc_normal" responsible="Frank.Schmidt@cern.ch">
	<test input ="test_5frs.madx" output="test_5frs.out"/>
   </target>
   <target name="ptc_track" responsible="Frank.Schmidt@cern.ch">
	<test input ="fv9_1.madx" output="fv9_1.out" subdir="Example1"/>
	<test input ="fv9_2.madx" output="fv9_2.out" subdir="Example2"/>
	<test input ="fv9_3.madx" output="fv9_3.out" subdir="Example3"/>
	<test input ="fv9_4.madx" output="fv9_4.out" subdir="Example4"/>
	<test input ="fv9_5.madx" output="fv9_5.out" subdir="Example5"/>
   </target>
     <target name = "ptc_twiss" responsible="Jean-Luc.Nougaret@cern.ch">
      <test input = "example1.madx" output="example1.out" subdir="Example1"/> <!--unspecified program is 'madx'-->
      <test input = "example2.madx" output="example2.out" subdir="Example2"/>
      <test input = "example3.madx" output="example3.out" subdir="Example3"/>
      <test input = "example4.madx" output="example4.out" subdir="Example4"/>
      <test input = "diamond.madx" output="diamond.out" subdir="Example5"/>
      <test input = "lhc.madx" output="lhc.out" subdir="Example6"/>
      <test input = "initialmap.madx" output="initialmap.out" subdir="InitialMap"/>
      <test input = "slice.madx" output="slice.out" subdir="SliceMagnets"/>
      <test input = "center.madx" output="center.out" subdir="CenterMagnets"/>
      <test input = "deltaDependency.madx" output="deltaDependency.out" subdir="DeltaDependency"/>
      <test input = "EdwardsTeng.madx" output="EdwardsTeng.out" subdir="EdwardsTeng"/>
      <test input = "fv9.madx" output="fv9.out" subdir="EdwardsTengBis"/>
   </target>
   <target name="special_features" responsible="Frank.Schmidt@cern.ch">
	<test input ="setvars.madx" output="setvars.out"/>
   </target>
   <target name="survey" responsible="Frank.Tecker@cern.ch">
	<test input ="dipring" output="dipring.out"/>
	<test input ="vline" output="vline.out"/>
	<test input ="lhcsrvR0" output="lhcsrvR0.out"/>
	<test input ="lhcsrvB1" output="lhcsrvB1.out"/>
	<test input ="lhcsrvB2" output="lhcsrvB2.out"/>
   </target>
   <target name="sodd" responsible="Frank.Schmidt@cern.ch">
	<test input ="sodd.madx" output="sodd.out"/>
   </target>
   <target name="sxf" responsible="Frank.Schmidt@cern.ch">
	<test input ="sxfwrite.madx" output="sxfwrite.out"/>
	<test input ="sxfread.madx" output="sxfread.out"/>
   </target>
   <target name="thintrack" responsible="Yipeng.Sun@cern.ch">
        <test input="tstTrack_ap_rectellipse.madx" output="tstTrack_ap_rectellipse.out"/>
        <test input="tstTrack_ap_lhcscreen.madx" output="tstTrack_ap_lhcscreen.out"/>
        <test input="tstTrack_syn.madx" output="tstTrack_syn.out"/>
        <test input="tstTrack_matrix.madx" output="tstTrack_matrix.out"/>
        <test input="tstTrack_synchr_LHC.madx" output="tstTrack_synchr_LHC.out"/>
   </target>
   <target name="threader" responsible="Thys.Risselada@cern.ch">
        <test input="threader_example.madx" output="threader_example.out"/>
   </target>
   <target name="touschek" responsible="Frank.Zimmermann@cern.ch">
        <test input="touschek.lhcinjection.madx" output="touschek.lhcinjection.out" subdir="LHC_injection"/>
        <test input="touschek.lhctopenergy.madx " output="touschek.lhctopenergy.out" subdir="LHC_top_energy"/>
        <test input="touschek.clicdr.madx  " output="touschek.clicdr.out" subdir="CLIC_damping_ring"/>
   </target>
   <target name="twiss" responsible="Frank.Schmidt@cern.ch">
        <test input="fv9.madx" output="fv9.out"/>
        <test input="fv9_matrix.madx" output="fv9_matrix.out"/>
        <test input="lep.madx " output="lep.out"/>
        <test input="jvh_twiss.madx  " output="jvh_twiss.out"/>
        <test input="lhc.madx  " output="lhc.out"/>        
   </target>
</test-scenario>
