diff options
author | Alena Laskavaia | 2016-03-14 16:02:09 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2016-03-16 20:51:17 +0000 |
commit | b3f03996de3b4077a20884ab9cf8c7b83fbf09f6 (patch) | |
tree | 53befed9c53c8d35649516df131d5aaaf6969658 /dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/pom.xml | |
parent | df63a59b53f4f244e5352f07fe7fc28335484ac9 (diff) | |
download | org.eclipse.cdt-b3f03996de3b4077a20884ab9cf8c7b83fbf09f6.tar.gz org.eclipse.cdt-b3f03996de3b4077a20884ab9cf8c7b83fbf09f6.tar.xz org.eclipse.cdt-b3f03996de3b4077a20884ab9cf8c7b83fbf09f6.zip |
parameterized tests gdb tests
this commit to introduce a test harness that allow
to reduce SIGNIFICALLY duplication of test per gdb version.
Tests is now parameterized with version and type (gdb vs gdbserver).
This commit flattens on of the tests as example rest is still
using an old way.
Parameters are defined externally now via Java variable like this
-Dcdt.tests.dsf.gdb.versions=gdb.7.7,gdbserver.7.7,gdb.7.11
Change-Id: I855449afba40e265c542dc5de7a3562548c97e8b
Diffstat (limited to 'dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/pom.xml')
-rw-r--r-- | dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/pom.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/pom.xml b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/pom.xml index 0051c2b123a..073c486e4f5 100644 --- a/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/pom.xml +++ b/dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/pom.xml @@ -19,6 +19,7 @@ <dsf.gdb.tests.gdbPath>/shared/common/gdb/gdb-all/bin</dsf.gdb.tests.gdbPath> <dsf.gdb.tests.gdbTestSuite>AutomatedSuite.java</dsf.gdb.tests.gdbTestSuite> <dsf.gdb.tests.timeout.multiplier>1</dsf.gdb.tests.timeout.multiplier> + <cdt.tests.dsf.gdb.versions>gdb.7.11,gdbserver.7.11</cdt.tests.dsf.gdb.versions> </properties> <build> <plugins> @@ -58,7 +59,7 @@ <version>${tycho-version}</version> <configuration> <useUIHarness>false</useUIHarness> - <argLine>${tycho.testArgLine} ${base.ui.test.vmargs} -ea -Xms256m -Xmx512m -XX:MaxPermSize=256M -Dcdt.tests.dsf.gdb.path=${dsf.gdb.tests.gdbPath} -Ddsf.gdb.tests.timeout.multiplier=${dsf.gdb.tests.timeout.multiplier}</argLine> + <argLine>${tycho.testArgLine} ${base.ui.test.vmargs} -ea -Xms256m -Xmx512m -XX:MaxPermSize=256M -Dcdt.tests.dsf.gdb.path=${dsf.gdb.tests.gdbPath} -Ddsf.gdb.tests.timeout.multiplier=${dsf.gdb.tests.timeout.multiplier} -Dcdt.tests.dsf.gdb.versions=${cdt.tests.dsf.gdb.versions}</argLine> <includes> <include>**/${dsf.gdb.tests.gdbTestSuite}</include> </includes> |