This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH] Add entry for ppc64le in arch list
- From: Athira <atrajeev at linux dot vnet dot ibm dot com>
- To: systemtap at sourceware dot org
- Cc: mjw at redhat dot com, fche at redhat dot com, hemant at linux dot vnet dot ibm dot com
- Date: Wed, 20 May 2015 17:51:03 +0530
- Subject: [PATCH] Add entry for ppc64le in arch list
- Authentication-results: sourceware.org; auth=none
A few tests fails in ppc64le with error:
========
parse error: expected 'probe', 'global', 'function', or '%{'^M
saw: identifier 'ERROR' at <input>:22:43^M
source: %( arch == "ppc64le" %? %: ERROR %)^M
^^M
^M
1 parse error.^M
Pass 1: parse failed. [man error::pass1]^M
FAIL: preprocessor basic ops
=========
This is because ppc64le is not added to arch list in systemtap.exp .
cmd_parse.exp also fails with similar error for arch. Modifying the
code for ppc64le.
Signed-off-by: Athira Rajeev <atrajeev@in.ibm.com>
---
testsuite/lib/systemtap.exp | 1 +
1 file changed, 1 insertion(+)
diff --git a/testsuite/lib/systemtap.exp b/testsuite/lib/systemtap.exp
index 8b99d37..fc91ca6 100644
--- a/testsuite/lib/systemtap.exp
+++ b/testsuite/lib/systemtap.exp
@@ -432,6 +432,7 @@ proc normalize_arch { arch } {
if {$arch == "armv7l"} then {return "arm"}
if {$arch == "armv7lh"} then {return "arm"}
if {$arch == "aarch64"} then {return "arm64"}
+ if {$arch == "ppc64le"} then {return "powerpc"}
return $arch
}
--