×

Method and apparatus for software testing using a differential testing technique to test compilers

  • US 5,754,860 A
  • Filed: 07/23/1996
  • Issued: 05/19/1998
  • Est. Priority Date: 07/23/1996
  • Status: Expired due to Term
First Claim
Patent Images

1. A method executed in a computer system for testing machine executable programs, the method comprising the steps of:

  • generating a test program;

    producing, using said test program and a first language processor, a first corresponding machine executable;

    producing, using said first corresponding machine executable, a first output;

    producing, using said test program and a second language processor, a second corresponding machine executable;

    producing, using said second corresponding machine executable, a second output;

    determining if there is a difference between said first and said second outputs; and

    detecting a test failure if there is a difference between said first and second outputs and said test program conforms to a runtime constraint included in a standard specifying how a machine executable produced using said test program behaves if said test program conforms to constraints included in said standard, said constraints including said runtime constraint, said test failure indicating that one of said first or second language processors is not in compliance with said standard.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×