aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamilo Bernal2012-10-16 16:19:55 (EDT)
committerRoland Grunberg2012-10-16 17:00:17 (EDT)
commit8eef8cb5317c001115b4d509d8520a670081475a (patch)
tree7a971721c13f4b842546687c1efd6abd799f8504
parent6221eda20afbc9439e6afb02716ba2c806c1a7d6 (diff)
downloadorg.eclipse.linuxtools-8eef8cb5317c001115b4d509d8520a670081475a.zip
org.eclipse.linuxtools-8eef8cb5317c001115b4d509d8520a670081475a.tar.gz
org.eclipse.linuxtools-8eef8cb5317c001115b4d509d8520a670081475a.tar.bz2
Remove path to perf check in PerfOptionsTab.
Checking of path to perf is already done in the delegate. Also, removing this check allow us to test the options tab, since pre-generated data is used to avoid machine dependent results. Change-Id: Ie930cb110364b16e795d7a628679061e64708f58 Reviewed-on: https://git.eclipse.org/r/8241 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com> IP-Clean: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
-rw-r--r--perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/launch/PerfOptionsTab.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/launch/PerfOptionsTab.java b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/launch/PerfOptionsTab.java
index 13789df..d0cb2fb 100644
--- a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/launch/PerfOptionsTab.java
+++ b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/launch/PerfOptionsTab.java
@@ -249,15 +249,8 @@ public class PerfOptionsTab extends AbstractLaunchConfigurationTab {
@Override
public void initializeFrom(ILaunchConfiguration config) {
-
+
try {
-
- if (! PerfCore.checkPerfInPath())
- {
- IStatus status = new Status(IStatus.ERROR, PerfPlugin.PLUGIN_ID, "Error: Perf was not found on PATH"); //$NON-NLS-1$
- ex = new CoreException(status);
- }
-
_txtKernel_Location.setText(config.getAttribute(PerfPlugin.ATTR_Kernel_Location, PerfPlugin.ATTR_Kernel_Location_default));
_chkRecord_Realtime.setSelection(config.getAttribute(PerfPlugin.ATTR_Record_Realtime, PerfPlugin.ATTR_Record_Realtime_default));
_chkRecord_Verbose.setSelection(config.getAttribute(PerfPlugin.ATTR_Record_Verbose, PerfPlugin.ATTR_Record_Verbose_default));