Ticket #72 (assigned task)

Opened 4 years ago

Last modified 4 years ago

Ada: init ASIS regression test suite

Reported by: maxr Assigned to: maxr (accepted)
Priority: normal Milestone: 5.2.0
Component: Regression Version: HEAD
Severity: normal Keywords:
Cc: Operating System: Any
Hardware: Any Sub Component: Producers - ada

Description (Last modified by maxr)

Create test programs, test cases and and script to run. These tests should check ASIS library.

I organize test as set of test programs, test cases (compilable Ada sources) and results of execution test programs on test cases. Makefile builds test programs with our ASIS library, runs them on test cases and compares results with stored in repository.

Each test program runs as

./open a0001.adb body a0001

Where

  • ./open - name of the test
  • a0001.adb - file with test case
  • body (or spec) - choise of specificatio or body of tested unit
  • a0001 - name of tested unit

Existing test program:

  1. Open - just open ASIS context. It includes parsing sources, building AST and run all passes over it. All test cases should open without errors, so result is an empty file.
  2. Walk - walks over ASIS AST and dump each encountered (explicit) Ada construct.
  3. Name - print corresponding declaration for each name in a test case.

Change History

06/26/06 14:19:36 changed by maxr

  • status changed from new to assigned.
  • type changed from bug to task.

07/06/06 13:47:04 changed by maxr

I imported 3 test programs (open, walk, name) and 2 test cases with current output of test programs for them.

07/06/06 14:02:55 changed by maxr

  • description changed.