diff --git a/DQMOffline/Configuration/test/BuildFile.xml b/DQMOffline/Configuration/test/BuildFile.xml
index 4334126214c15..7e3889dabe548 100644
--- a/DQMOffline/Configuration/test/BuildFile.xml
+++ b/DQMOffline/Configuration/test/BuildFile.xml
@@ -4,12 +4,12 @@
-
+
-
+
diff --git a/DQMOffline/Configuration/test/runrest.sh b/DQMOffline/Configuration/test/runrest.sh
new file mode 100755
index 0000000000000..bc8b32bbab409
--- /dev/null
+++ b/DQMOffline/Configuration/test/runrest.sh
@@ -0,0 +1,12 @@
+#!/bin/bash -ex
+ERR=0
+PYTHONUNBUFFERED=1 cmsswSequenceInfo.py --runTheMatrix --steps DQM,VALIDATION --infile $1 --offset $2 --dbfile sequences$2.db --threads 1 >run.log 2>&1 || ERR=1
+cat run.log
+seqs=$(grep 'Analyzing [0-9][0-9]* seqs' run.log | sed 's|.*Analyzing *||;s| .*||')
+echo "Sequences run by final DQMOfflineConfiguration: $seqs"
+if [ "$seqs" -gt 0 ] ; then
+ echo "Final DQMOfflineConfiguration should not run any sequences."
+ echo "Please update parameters for TestDQMOfflineConfiguration unittest run the extra sequences."
+ exit 1
+fi
+exit $ERR