<div dir="ltr"><div><div><div><div><div><div>I create 2 test files depends on testsuite readme file and make testsuite with make full command and set TEST_FPC variable to fpc ppcx64 compiler.<br><br></div>for-otherwise and while-otherwise diff file and test files attached to email.<br></div><br></div>test result :<br><br>Total = 6906 (75:6831)<br>Total number of compilations = 4264 (60:4204)<br>Successfully compiled = 3147<br>Successfully failed = 1057<br>Compilation failures = 55<br>Compilation that did not fail while they should = 5<br>Total number of runs = 2642 (15:2627)<br>Successful runs = 2627<br>Failed runs = 15<br>Number units compiled = 135<br>Number program that should not be run = 367<br>Number of skipped tests = 404<br>Number of skipped graph tests = 10<br>Number of skipped interactive tests = 31<br>Number of skipped known bug tests = 6<br>Number of skipped tests for other versions = 4<br>Number of skipped tests for other cpus = 190<br>Number of skipped tests for other targets = 163<br><br></div>I checked failed ones but it seems they are not related to my changes.<br></div>What you think?<br><br></div>thanks a lot<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 11, 2015 at 6:44 PM, Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><p>Am 11.10.2015 15:56 schrieb "MohsenTi" <<a href="mailto:mohsen.timar@gmail.com" target="_blank">mohsen.timar@gmail.com</a>>:<br>
><br>
> Hi everybody<br>
><br>
> I add new feature to FPC compiler to simplify programming.<br>
> this is While - Otherwise working like While - Else in python and has backwards compatibility.</p>
</span><p>Nice idea with the otherwise. I first thought that this would break case-statements that use otherwise instead of else, but then I remembered that the case-label-blocks can and IMHO should be terminated by ; anyway. At least problems can be easily circumvented.</p>
<p>I don't know whether we'll add it to trunk, but I'll at least take a look at your code to give you feedback.</p>
<p>Oh, and please provide simple tests for your feature that could be added to our testsuite (in tests/test or tests/tbs) in case we decide to incorporate it.<br>
Speaking of which: did you run the testsuite and compared the results to a run without modifications?<br>
(If you need help with running the testsuite or interpreting the results, please ask, I have yet to write a wiki page for that...)</p>
<p>Regards,<br>
Sven</p>
<br>_______________________________________________<br>
fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" rel="noreferrer" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
<br></blockquote></div><br></div>