public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 2/3] Fix MPX and AVX512 tests for path changes.
@ 2015-04-23 12:13 Walfred Tedeschi
  2015-05-06 18:54 ` Joel Brobecker
  0 siblings, 1 reply; 2+ messages in thread
From: Walfred Tedeschi @ 2015-04-23 12:13 UTC (permalink / raw)
  To: brobecker; +Cc: gdb-patches, Walfred Tedeschi

Changes on the path for i386-cpuid.h file lead to failure in compiling
tests for AVX512.

2014-08-12  Walfred Tedeschi  <walfred.tedeschi@intel.com>

gdb/testsuite
	* gdb.arch/i386-avx512.c: Change path in include file.
	* gdb.arch/i386-avx512.exp: Change include dir path
	compilation flag.

---
 gdb/testsuite/gdb.arch/i386-avx512.c   | 2 +-
 gdb/testsuite/gdb.arch/i386-avx512.exp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gdb/testsuite/gdb.arch/i386-avx512.c b/gdb/testsuite/gdb.arch/i386-avx512.c
index 77fc347..77cdbec 100644
--- a/gdb/testsuite/gdb.arch/i386-avx512.c
+++ b/gdb/testsuite/gdb.arch/i386-avx512.c
@@ -17,7 +17,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-#include "nat/x86-cpuid.h"
+#include "x86-cpuid.h"
 
 typedef struct
 {
diff --git a/gdb/testsuite/gdb.arch/i386-avx512.exp b/gdb/testsuite/gdb.arch/i386-avx512.exp
index c30ff23..57d553e 100644
--- a/gdb/testsuite/gdb.arch/i386-avx512.exp
+++ b/gdb/testsuite/gdb.arch/i386-avx512.exp
@@ -26,7 +26,7 @@ if { ![istarget i?86-*-*] && ![istarget x86_64-*-* ] } {
 
 standard_testfile
 
-set comp_flags "-mavx512f -I${srcdir}/../common"
+set comp_flags "-mavx512f -I${srcdir}/../nat"
 
 if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} \
      [list debug nowarnings additional_flags=${comp_flags}]] } {
-- 
2.1.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 2/3] Fix MPX and AVX512 tests for path changes.
  2015-04-23 12:13 [PATCH v2 2/3] Fix MPX and AVX512 tests for path changes Walfred Tedeschi
@ 2015-05-06 18:54 ` Joel Brobecker
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Brobecker @ 2015-05-06 18:54 UTC (permalink / raw)
  To: Walfred Tedeschi; +Cc: gdb-patches

> 2014-08-12  Walfred Tedeschi  <walfred.tedeschi@intel.com>
> 
> gdb/testsuite
> 	* gdb.arch/i386-avx512.c: Change path in include file.
> 	* gdb.arch/i386-avx512.exp: Change include dir path
> 	compilation flag.

OK to push as well.

-- 
Joel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-06 18:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-23 12:13 [PATCH v2 2/3] Fix MPX and AVX512 tests for path changes Walfred Tedeschi
2015-05-06 18:54 ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).