#37 New regression test mode

closed
None
5
2004-01-06
2003-09-18
No

The current regression tests are great to verify that
SDCC correctly compiles a valid C program. However, it
would also be helpful to test that SDCC correctly
rejects invalid C programs. Perhaps a sibling to the
support/regression/tests directly named
support/regression/errortests ?

For a file in this new directory to pass the regression
test, it should cause SDCC to exit with a non-zero
value, but without causing any segment violation errors.

Discussion

  • Erik Petrich

    Erik Petrich - 2004-01-06

    Logged In: YES
    user_id=635249

    The framework for this is now in place under support/valdiag
    and a starting set of test files in support/valdiag/tests/*.c.

    I'm rather new to python (valdiag.py is my first python
    program), so there may be portability issues that I'm not
    aware of yet. I *think* it should run with python 2.0 or later.

     
  • Erik Petrich

    Erik Petrich - 2004-01-06
    • assigned_to: nobody --> epetrich
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks