Menu

#76 Test cases don't compile

None
closed
tests (4)
1
2013-04-13
2013-04-11
No

The test code in examples/House_Management.tests/ doesn't compile, because it hasn't been corrected for the change from the deprecated SVN version of AUnit.

There may be others.

Related

Support Requests: #2

Discussion

  • Alex Proudfoot

    Alex Proudfoot - 2013-04-11

    Aha. That explains it. I already tried the 2012 version of AUnit from the Libre site with the same result. I believe you'll find this problem in all the .test directories in cf/examples and cf/test :) I'm quite happy to update to GNAT GPL 2012 and associated version of AUnit at this point and wait for your bug fix. All the best.
    Alex

     
  • Simon Wright

    Simon Wright - 2013-04-11

    Fixed in ea6db4f760a0.

     

    Last edit: Simon Wright 2013-04-11
    • Alex Proudfoot

      Alex Proudfoot - 2013-04-12

      The examples now build for me under GNAT GPL 2011.
      I'll try 2012 later today.

       
      • Simon Wright

        Simon Wright - 2013-04-12

        My remarks about 2012 vs 2011 were based on my forgetting exactly what the problem was! Will be most surprised if 2012 doesn't Just Work (my installation doesn't have AUnit (yet)).

         
    • Alex Proudfoot

      Alex Proudfoot - 2013-04-12

      To clarify, I originally intended to use GNAT GPL 2012 and associated packages (AUnit 2012, XMLAda 2012) from the Libre website but reverted to the 2011 versions to try to build the ColdFrame examples. They now build for me, using the originally intended toolset, after including your modified source files house_management-lamp-test_suite.adb and library-tests.adb.

       

      Last edit: Alex Proudfoot 2013-04-13
  • Simon Wright

    Simon Wright - 2013-04-11
    • status: open --> pending
    • assigned_to: Simon Wright
    • Group: -->
     
  • Alex Proudfoot

    Alex Proudfoot - 2013-04-13

    There are similar problems in the cf/test directory. Log files attached.

     

    Last edit: Alex Proudfoot 2013-04-13
    • Simon Wright

      Simon Wright - 2013-04-13

      Apologies. These were fixed in Hg in July 2012.

      I'm getting ready to make a distribution, but am having trouble with the Makefile.

       
  • Alex Proudfoot

    Alex Proudfoot - 2013-04-13

    No worries Simon. I've included the source files fixed in Hg in the meantime. By the way, it's great to finally see a version of ColdFrame that doesn't depend on Rational Rose. I'm looking forward to trying it out.

     
  • Simon Wright

    Simon Wright - 2013-04-13
    • Status: pending --> closed
     
  • Simon Wright

    Simon Wright - 2013-04-13

    Fixed in release 20130413.

     

Log in to post a comment.