[binutils-gdb] Arm: Add xml unit tests

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[binutils-gdb] Arm: Add xml unit tests

gdb-buildbot
*** TEST RESULTS FOR COMMIT f42b26179a8606d31959207a2d8eb8582b650c99 ***

commit f42b26179a8606d31959207a2d8eb8582b650c99
Author:     Alan Hayward <[hidden email]>
AuthorDate: Fri Jul 19 15:02:41 2019 +0100
Commit:     Alan Hayward <[hidden email]>
CommitDate: Fri Jul 19 15:02:41 2019 +0100

    Arm: Add xml unit tests
   
    Use the record_xml_tdesc tests to prove the new target descriptions
    are identical to the previous xml file ones.
   
    This is tested as part of gdb.gdb/unittest.exp.
   
    gdb/ChangeLog:
   
            * arm-tdep.c (_initialize_arm_tdep): Add xml regression tests.

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 994e0eff68..102af2eaf1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2019-07-19  Alan Hayward  <[hidden email]>
+
+ * arm-tdep.c (_initialize_arm_tdep): Add xml regression tests.
+
 2019-07-19  Alan Hayward  <[hidden email]>
 
  * arch/aarch32.c (aarch32_create_target_description): Create
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 1d655eab5c..b500f193df 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -63,6 +63,7 @@
 
 #if GDB_SELF_TEST
 #include "gdbsupport/selftest.h"
+#include "aarch32-tdep.h"
 #endif
 
 static int arm_debug;
@@ -9547,6 +9548,23 @@ vfp - VFP co-processor."),
 
 #if GDB_SELF_TEST
   selftests::register_test ("arm-record", selftests::arm_record_test);
+
+  const target_desc *tdesc;
+
+  tdesc = arm_read_description (ARM_FP_TYPE_VFPV2);
+  selftests::record_xml_tdesc ("arm/arm-with-vfpv2.xml", tdesc);
+  tdesc = arm_read_description (ARM_FP_TYPE_VFPV3);
+  selftests::record_xml_tdesc ("arm/arm-with-vfpv3.xml",tdesc);
+  tdesc = arm_read_description (ARM_FP_TYPE_IWMMXT);
+  selftests::record_xml_tdesc ("arm/arm-with-iwmmxt.xml", tdesc);
+  tdesc = arm_read_mprofile_description (ARM_M_TYPE_M_PROFILE);
+  selftests::record_xml_tdesc ("arm/arm-with-m.xml", tdesc);
+  tdesc = arm_read_mprofile_description (ARM_M_TYPE_VFP_D16);
+  selftests::record_xml_tdesc ("arm/arm-with-m-vfp-d16.xml", tdesc);
+  tdesc = arm_read_mprofile_description (ARM_M_TYPE_WITH_FPA);
+  selftests::record_xml_tdesc ("arm/arm-with-m-fpa-layout.xml", tdesc);
+  tdesc = aarch32_read_description ();
+  selftests::record_xml_tdesc ("arm/arm-with-neon.xml", tdesc);
 #endif
 
 }
Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-cc-with-index, branch master

gdb-buildbot
Buildername:
        Fedora-x86_64-cc-with-index

Worker:
        fedora-x86-64-4

Full Build URL:
        https://gdb-buildbot.osci.io/#builders/20/builds/343

Author:
        Alan Hayward <[hidden email]>

Commit tested:
        f42b26179a8606d31959207a2d8eb8582b650c99

Subject of commit:
        Arm: Add xml unit tests

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-cc-with-index/f4/f42b26179a8606d31959207a2d8eb8582b650c99/

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=0: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-cc-with-index/f4/f42b26179a8606d31959207a2d8eb8582b650c99//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-cc-with-index/f4/f42b26179a8606d31959207a2d8eb8582b650c99//xfail.table.gz>

Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-i686, branch master

gdb-buildbot
In reply to this post by gdb-buildbot
Buildername:
        Fedora-i686

Worker:
        fedora-x86-64-2

Full Build URL:
        https://gdb-buildbot.osci.io/#builders/18/builds/344

Author:
        Alan Hayward <[hidden email]>

Commit tested:
        f42b26179a8606d31959207a2d8eb8582b650c99

Subject of commit:
        Arm: Add xml unit tests

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-i686/f4/f42b26179a8606d31959207a2d8eb8582b650c99/

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/non-ldr-exit.exp: program exits normally
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-i686/f4/f42b26179a8606d31959207a2d8eb8582b650c99//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-i686/f4/f42b26179a8606d31959207a2d8eb8582b650c99//xfail.table.gz>

Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-m32, branch master

gdb-buildbot
In reply to this post by gdb-buildbot
Buildername:
        Fedora-x86_64-m32

Worker:
        fedora-x86-64-3

Full Build URL:
        https://gdb-buildbot.osci.io/#builders/17/builds/341

Author:
        Alan Hayward <[hidden email]>

Commit tested:
        f42b26179a8606d31959207a2d8eb8582b650c99

Subject of commit:
        Arm: Add xml unit tests

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-m32/f4/f42b26179a8606d31959207a2d8eb8582b650c99/

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=0: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-m32/f4/f42b26179a8606d31959207a2d8eb8582b650c99//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-m32/f4/f42b26179a8606d31959207a2d8eb8582b650c99//xfail.table.gz>

Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-m64, branch master

gdb-buildbot
In reply to this post by gdb-buildbot
Buildername:
        Fedora-x86_64-m64

Worker:
        fedora-x86-64-1

Full Build URL:
        https://gdb-buildbot.osci.io/#builders/3/builds/366

Author:
        Alan Hayward <[hidden email]>

Commit tested:
        f42b26179a8606d31959207a2d8eb8582b650c99

Subject of commit:
        Arm: Add xml unit tests

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-m64/f4/f42b26179a8606d31959207a2d8eb8582b650c99/

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=1: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-m64/f4/f42b26179a8606d31959207a2d8eb8582b650c99//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-m64/f4/f42b26179a8606d31959207a2d8eb8582b650c99//xfail.table.gz>

Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master

gdb-buildbot
In reply to this post by gdb-buildbot
Buildername:
        Fedora-x86_64-native-extended-gdbserver-m32

Worker:
        fedora-x86-64-4

Full Build URL:
        https://gdb-buildbot.osci.io/#builders/4/builds/341

Author:
        Alan Hayward <[hidden email]>

Commit tested:
        f42b26179a8606d31959207a2d8eb8582b650c99

Subject of commit:
        Arm: Add xml unit tests

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m32/f4/f42b26179a8606d31959207a2d8eb8582b650c99/

*** Diff to previous build ***
==============================================
PASS -> UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=1: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m32/f4/f42b26179a8606d31959207a2d8eb8582b650c99//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-extended-gdbserver-m32/f4/f42b26179a8606d31959207a2d8eb8582b650c99//xfail.table.gz>

Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-native-gdbserver-m64, branch master

gdb-buildbot
In reply to this post by gdb-buildbot
Buildername:
        Fedora-x86_64-native-gdbserver-m64

Worker:
        fedora-x86-64-1

Full Build URL:
        https://gdb-buildbot.osci.io/#builders/22/builds/341

Author:
        Alan Hayward <[hidden email]>

Commit tested:
        f42b26179a8606d31959207a2d8eb8582b650c99

Subject of commit:
        Arm: Add xml unit tests

Testsuite logs (gdb.sum, gdb.log and others):
        https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-gdbserver-m64/f4/f42b26179a8606d31959207a2d8eb8582b650c99/

*** Diff to previous build ***
==============================================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=1: inferior 1 exited
==============================================

*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-gdbserver-m64/f4/f42b26179a8606d31959207a2d8eb8582b650c99//xfail.gz>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://gdb-buildbot.osci.io/results/Fedora-x86_64-native-gdbserver-m64/f4/f42b26179a8606d31959207a2d8eb8582b650c99//xfail.table.gz>