Ticket #44 (closed task: fixed)
Make the examples actually compile...
| Reported by: | debrouxl | Owned by: | |
|---|---|---|---|
| Priority: | blocker | Milestone: | Version 1.00 |
| Component: | project | Version: | 0.96 |
| Keywords: | Cc: | kevin.kofler@… |
Description
Besides ticket #43, which is not a failure per se, another problem shows up when building the examples: the "Dialog Struct" example has been failing to compile since
Author: kevinkofler
Date: Wed Jul 27 19:15:50 2005 +0000
Fix size allocated for strings in SIZED_DIALOG (thanks to Sébastien Leurent for the fix).
What's more, I find it weird that tprbuilder silently swallows any nonzero exit code returned by system() or win32_system(): it just does exit(0); in that case. In other words, tprbuilder may exit with 0 exit code even if the build failed, which makes it unusable for automated regression testing.
In a way, this ticket is also related to ticket #29.
Two patches will follow, I'd already have committed them if I remembered my password...
Attachments
Change History
Changed 3 years ago by debrouxl
-
attachment
0001-tprbuilder-return-a-nonzero-exit-code-if-a-command-r.patch
added
Changed 3 years ago by debrouxl
-
attachment
0002-Fix-an-example-whose-build-has-failed-since-Kevin-mo.patch
added
Patch that fixes the "Dialog Struct" example and adds a script for regression tests

Patch to make tprbuilder exit with failure if an external command it launched returned failure