PATCH: UnitTestCPP for Ubuntu and System variables

Discussion about CodeLite development process and patches
ilkapo
CodeLite Curious
Posts: 5
Joined: Thu Nov 19, 2009 6:43 pm
Genuine User: Yes
IDE Question: c++
Contact:

PATCH: UnitTestCPP for Ubuntu and System variables

Post by ilkapo »

On Ubuntu the UnitTestCpp does not work, when the user press the "Run as unit test project..." button nothing happen.

For fix the problem I made some change:
  • fix the configure script
    add some MessageBox for warning messages when the unit test starts
    changed the row-split for the process result by detecting the system new line character at runtime
    function PipedProcess::ReadAll avoid to add character 0 to the result string, this can truncate the result
In addition I implement a feauture confugure system environment variable per project. I change the project settings form, in the Environment tab a new TextControl allow to define project environment variables.
Schermata-gef_test Project Settings.png
The project environment variables are set when a project was executed, debugged or when start a unit test.

Here is the patch.
prjenvvar.patch.tar.gz
You do not have the required permissions to view the files attached to this post.