Project

General

Profile

Actions

Feature #7700

closed

want dis test suite

Added by Robert Mustacchi over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
tests
Start date:
2016-12-29
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

To better enable adding additional instructions to dis, it would be nice to have a test suite which could be used to test against and verify regressions against. While it will be designed to be run with the general test-runner, we want it to support a more useful human-readable output as well.

The initial integration will have a basic entry for cross-sparc and will have numerous, but far from exhaustive, tests for x86.

The test suite ouputs something that looks like:

[root@ivy /opt/util-tests/tests/dis]# ./distest 
testing /opt/util-tests/tests/dis/i386/tst.vmx.s (32-bit) ... passed
testing /opt/util-tests/tests/dis/i386/tst.vmx.s (64-bit) ... passed
testing /opt/util-tests/tests/dis/i386/tst.smap.s (32-bit) ... passed
testing /opt/util-tests/tests/dis/i386/tst.smap.s (64-bit) ... passed
testing /opt/util-tests/tests/dis/i386/tst.mwait.s (32-bit) ... passed
testing /opt/util-tests/tests/dis/i386/tst.mwait.s (64-bit) ... passed
testing /opt/util-tests/tests/dis/i386/tst.random.s (32-bit) ... passed
testing /opt/util-tests/tests/dis/i386/tst.random.s (64-bit) ... passed
testing /opt/util-tests/tests/dis/i386/32.fma-sd.s ... passed
testing /opt/util-tests/tests/dis/i386/32.fma-pd.s ... passed
testing /opt/util-tests/tests/dis/i386/32.bmi2.s ... passed
testing /opt/util-tests/tests/dis/i386/32.fma-ps.s ... passed
testing /opt/util-tests/tests/dis/i386/32.ssse3.s ... passed
testing /opt/util-tests/tests/dis/i386/32.lzcnt.s ... passed
testing /opt/util-tests/tests/dis/i386/32.fma-ss.s ... passed
testing /opt/util-tests/tests/dis/i386/32.bmi1.s ... passed
testing /opt/util-tests/tests/dis/i386/32.sse-4.2.s ... passed
testing /opt/util-tests/tests/dis/i386/32.popcnt.s ... passed
testing /opt/util-tests/tests/dis/i386/32.aes.s ... passed
testing /opt/util-tests/tests/dis/i386/32.adx.s ... passed
testing /opt/util-tests/tests/dis/i386/32.xsave.s ... passed
testing /opt/util-tests/tests/dis/i386/64.ssse3.s ... passed
testing /opt/util-tests/tests/dis/i386/64.lzcnt.s ... passed
testing /opt/util-tests/tests/dis/i386/64.fma-ps.s ... passed
testing /opt/util-tests/tests/dis/i386/64.bmi2.s ... passed
testing /opt/util-tests/tests/dis/i386/64.fma-ss.s ... passed
testing /opt/util-tests/tests/dis/i386/64.fma-sd.s ... passed
testing /opt/util-tests/tests/dis/i386/64.bmi1.s ... passed
testing /opt/util-tests/tests/dis/i386/64.fma-pd.s ... passed
testing /opt/util-tests/tests/dis/i386/64.aes.s ... passed
testing /opt/util-tests/tests/dis/i386/64.random.s ... passed
testing /opt/util-tests/tests/dis/i386/64.adx.s ... passed
testing /opt/util-tests/tests/dis/i386/64.xsave.s ... passed
testing /opt/util-tests/tests/dis/i386/64.vmx.s ... passed
testing /opt/util-tests/tests/dis/i386/64.sse-4.2.s ... passed
testing /opt/util-tests/tests/dis/i386/64.ept.s ... passed
testing /opt/util-tests/tests/dis/i386/64.popcnt.s ... passed

--------------
libdis Results
--------------

Tests passed: 37
Tests failed: 0
Tests ran:    37
Actions #1

Updated by Electric Monk over 5 years ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit 2380c36e1bade5eb4eb6c6b7445ff58583f998cf

commit  2380c36e1bade5eb4eb6c6b7445ff58583f998cf
Author: Robert Mustacchi <rm@joyent.com>
Date:   2017-01-04T14:16:10.000Z

    7700 want dis test suite
    Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
    Reviewed by: Adam Leventhal <adam.leventhal@gmail.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF