From f523f71ff29f1d2f454a867525b5b6599e54c3a0 Mon Sep 17 00:00:00 2001
From: Alex Pearce <alex@alexpearce.me>
Date: Fri, 9 Mar 2018 17:36:10 +0100
Subject: [PATCH] Add QMTests.

---
 .../davinci.qms/davinci_turbo_mc_2015_dst.qmt    | 16 ++++++++++++++++
 .../davinci.qms/davinci_turbo_mc_2016_dst.qmt    | 16 ++++++++++++++++
 .../davinci.qms/davinci_turbo_mc_2016_udst.qmt   | 16 ++++++++++++++++
 3 files changed, 48 insertions(+)
 create mode 100644 DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2015_dst.qmt
 create mode 100644 DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_dst.qmt
 create mode 100644 DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst.qmt

diff --git a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2015_dst.qmt b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2015_dst.qmt
new file mode 100644
index 000000000..08841f02b
--- /dev/null
+++ b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2015_dst.qmt
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<extension class="GaudiTest.GaudiExeTest" kind="test">
+  <argument name="program">
+    <text>gaudirun.py</text>
+  </argument>
+  <argument name="args"><set>
+    <text>../options/DV_Turbo_OK.py</text>
+    <text>../options/TurboMC_2015.py</text>
+    <text>$APPCONFIGOPTS/DaVinci/DataType-2015.py</text>
+    <text>$APPCONFIGOPTS/DaVinci/Simulation.py</text>
+  </set></argument>
+  <argument name="exit_code">
+    <integer>0</integer>
+  </argument>
+</extension>
diff --git a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_dst.qmt b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_dst.qmt
new file mode 100644
index 000000000..96747ea0e
--- /dev/null
+++ b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_dst.qmt
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<extension class="GaudiTest.GaudiExeTest" kind="test">
+  <argument name="program">
+    <text>gaudirun.py</text>
+  </argument>
+  <argument name="args"><set>
+    <text>../options/DV_Turbo_OK.py</text>
+    <text>../options/TurboMC_2016.py</text>
+    <text>$APPCONFIGOPTS/DaVinci/DataType-2016.py</text>
+    <text>$APPCONFIGOPTS/DaVinci/Simulation.py</text>
+  </set></argument>
+  <argument name="exit_code">
+    <integer>0</integer>
+  </argument>
+</extension>
diff --git a/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst.qmt b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst.qmt
new file mode 100644
index 000000000..d970816e8
--- /dev/null
+++ b/DaVinciTests/tests/qmtest/davinci.qms/davinci_turbo_mc_2016_udst.qmt
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
+<extension class="GaudiTest.GaudiExeTest" kind="test">
+  <argument name="program">
+    <text>gaudirun.py</text>
+  </argument>
+  <argument name="args"><set>
+    <text>../options/DV_Turbo_OK.py</text>
+    <text>../options/TurboMC_2016_uDST.py</text>
+    <text>$APPCONFIGOPTS/DaVinci/DataType-2016.py</text>
+    <text>$APPCONFIGOPTS/DaVinci/Simulation.py</text>
+  </set></argument>
+  <argument name="exit_code">
+    <integer>0</integer>
+  </argument>
+</extension>
-- 
GitLab