Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] DSF-GDB enhanced JUnits

for those who care about the JUnits for DSF-GDB.
I just committed a patch that allows to run different suites of tests, based on the GDB version you want to test.
Please refer to for all the details.
Basically you can run tests in different ways:
1- run the AllTests class as before to run the tests with the current gdb (note that the class has changed location)

2- run the new AllSuites class to run all tests for each of the following versions of GDB 6.6, 6.7, 6.8 and 7.0 (which is gonna be released soon).

3- run an individual suite such as Suite_6_7 to run all tests with GDB 6.7
4- run an individual test such as MIExpressionsTest_6_6 to run the Expressions test with GDB 6.6
Note that your PATH variable needs to find the following binaries to test a specific GDB version:
The tests do not verify if the binary is actually the right version.  This allows you to have gdb.7.0 point
to a GDB HEAD build for example.
Finally, note that not all test pass yet, but that was to be expected.


Marc Khouzam
Software Designer, Methods and Tools


Ericsson Canada Inc

8500 Decarie Blvd.
H4P 2N2, Mont-Royal, Qc, Canada

Office: +514 345 7900 x42350
Fax: +514 345 6159
Mobile: +514 951 7191
Email: Marc.Khouzam@xxxxxxxxxxxx

Ce courriel est confidentiel et uniquement destiné à son ou ses destinataires. Il est défendu de le consulter, de l'utiliser, de le dévoiler ou de le diffuser sans autorisation. Si ce message vous est parvenu par erreur, merci d'en aviser l'expéditeur par retour de courrier et de le détruire sans le divulguer.  Un courriel et ses pièces jointes peut être sans autorisation corrompu, interrompu, amendé, altéré et infecté. L'entreprise ne reçoit et n'envoie de courriel qu'avec l'entente qu'elle n'est responsable d'aucune corruption, interception, modification, altération, infection ou conséquence possible.

This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.  E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.


Back to the top