comp.lang.ada
 help / color / mirror / Atom feed
From: Tero Koskinen <tero.koskinen@iki.fi>
Subject: Re: ANN: Ahven 2.3
Date: Thu, 24 Jan 2013 23:06:54 +0200
Date: 2013-01-24T23:06:54+02:00	[thread overview]
Message-ID: <20130124230654.e273dd9045ec26fc185fe8d8@iki.fi> (raw)
In-Reply-To: 20130124224153.7403ebdc4a9f49d9348d0163@iki.fi

On Thu, 24 Jan 2013 22:41:53 +0200
Tero Koskinen <tero.koskinen@iki.fi> wrote:
> I am pleased to announce Ahven 2.3.
> 
> Starting from this release, the exception backtraces are now
> stored to the test results and printed out along with the results.

Here are some examples how the exception backtraces are printed
with various compilers. I have used out-of-the-box default compiler
settings with every compiler and it might be possible to make
the backtraces more or less informative depending on the used
compiler options.

My code for printing the backtraces is equal for every compiler.

Irvine ICCAda on Windows XP
===========================

Errors :  2
 All:
  Ahven.Derived_Tests:
   Test_Case: Test_Count - raised in c:/work/ahven-vanilla/test/framework_tests.adb line 202 ERROR        0.00000s
    PROGRAM_ERROR raised in c:/work/ahven-vanilla/test/framework_tests.adb line 202
  Ahven.Framework:
   Test_Case: Test_Count - raised in c:/work/ahven-vanilla/test/framework_tests.adb line 202 ERROR        0.00000s
    PROGRAM_ERROR raised in c:/work/ahven-vanilla/test/framework_tests.adb line 202



Janus/Ada on Windows XP
=======================

Errors :  2
 All:
  Ahven.Derived_Tests:
   Test_Case: Test_Count - PROGRAM_ERROR           ERROR         0.0002s
    PROGRAM_ERROR
       On Line Number 202 In FRAMEWORK_TESTS.TEST_TEST_CASE_TEST_COUNT
    Called from line number 689 In AHVEN.FRAMEWORK.RUN
    Called from line number 247 In AHVEN.FRAMEWORK.RUN_COMMAND.RUN_A_COMMAND
    Called from line number 295 In AHVEN.FRAMEWORK.RUN_COMMAND
    Called from line number 372 In AHVEN.FRAMEWORK.RUN_INTERNAL
    Called from line number 394 In AHVEN.FRAMEWORK.RUN.EXEC
    Called from line number 100 In AHVEN.SLIST.FOR_EACH
    Called from line number 400 In AHVEN.FRAMEWORK.RUN
    Called from line number 95 In AHVEN.FRAMEWORK.EXECUTE.RUN_IMPL
    Called from line number 80 In AHVEN.FRAMEWORK.EXECUTE_INTERNAL
        --- 10 calls omitted ---

  Ahven.Framework:
   Test_Case: Test_Count - PROGRAM_ERROR           ERROR         0.0002s
    PROGRAM_ERROR
       On Line Number 202 In FRAMEWORK_TESTS.TEST_TEST_CASE_TEST_COUNT
    Called from line number 689 In AHVEN.FRAMEWORK.RUN
    Called from line number 247 In AHVEN.FRAMEWORK.RUN_COMMAND.RUN_A_COMMAND
    Called from line number 295 In AHVEN.FRAMEWORK.RUN_COMMAND
    Called from line number 372 In AHVEN.FRAMEWORK.RUN_INTERNAL
    Called from line number 394 In AHVEN.FRAMEWORK.RUN.EXEC
    Called from line number 100 In AHVEN.SLIST.FOR_EACH
    Called from line number 400 In AHVEN.FRAMEWORK.RUN
    Called from line number 95 In AHVEN.FRAMEWORK.EXECUTE.RUN_IMPL
    Called from line number 80 In AHVEN.FRAMEWORK.EXECUTE_INTERNAL
        --- 10 calls omitted ---


GNAT GPL 2012 on Windows 7
==========================

Errors :  2
 All:
  Ahven.Derived_Tests:
   Test_Case: Test_Count - framework_tests.adb:202 explicit raise ERROR    0.000080760s
    Exception name: PROGRAM_ERROR
    Message: framework_tests.adb:202 explicit raise
    Call stack traceback locations:
    0x409b49 0x423b7e 0x4212b2 0x41b200 0x421883 0x421a69 0x421929 0x421991 0x41abc6 0x41aa58 0x41ab49 0x422626 0x4224ee 0x42256a 0x41
abc6 0x41aa58 0x41ab49 0x425abf 0x427ae2 0x401d5f 0x401b9b 0x4010b9 0x4012a6 0x755333a8 0x77e19ef0 0x77e19ec3

  Ahven.Framework:
   Test_Case: Test_Count - framework_tests.adb:202 explicit raise ERROR    0.000082000s
    Exception name: PROGRAM_ERROR
    Message: framework_tests.adb:202 explicit raise
    Call stack traceback locations:
    0x409b49 0x423b7e 0x4212b2 0x41b200 0x421883 0x421a69 0x421929 0x421991 0x41abc6 0x41aa58 0x41ab49 0x422626 0x4224ee 0x42256a 0x41
abc6 0x41aa58 0x41ab49 0x425abf 0x427ae2 0x401d5f 0x401b9b 0x4010b9 0x4012a6 0x755333a8 0x77e19ef0 0x77e19ec3



-- 
Tero Koskinen - http://iki.fi/tero.koskinen/

PS. Sorry for very long lines, but I think they make sense in this case.



      reply	other threads:[~2013-01-24 21:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-24 20:41 ANN: Ahven 2.3 Tero Koskinen
2013-01-24 21:06 ` Tero Koskinen [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox