I have run regresion tests both in Cygwin and Solaris platform and I have this results:<br><ul><li>Solaris - Varnish 2.1.2 release : 20 of 174 tests failed<br></li><li>Solaris - Varnish 2.1.2 + conditional cygwin modifications : 20 of 174 tests failed<br>
</li><li>Cygwin - Varnish 2.1.2 + conditional cygwin modifications : problems with VCL compilation because cc_command is different.<br></li></ul><br>Solaris has the same results with or without cygwin modifications.<br>I have no Linux platform to run regression tests.<br>
<br>About Solaris test error, are you aware of this errors?<br><br>Thank you<br><br><br><div class="gmail_quote">2010/7/21 Jorge Díaz <span dir="ltr"><<a href="mailto:jdzstz@gmail.com">jdzstz@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello,<br><br>Yesterday, I forgot to ask about the regression test.<br><br>If I launch it, I have problems with VCL compilation, because tests does not uses the modified "cc_command" that I use with varnishd:<br>
<br><div style="margin-left: 40px; font-family: courier new,monospace;"><font size="1"><b>PASS: ./tests/a00006.vtc<br># top TEST ././tests/a00007.vtc passed (0.052s)<br>PASS: ./tests/a00007.vtc<br># top TEST ././tests/a00008.vtc passed (1.856s)<br>
PASS: ./tests/a00008.vtc<br>Message from C-compiler:<br>./vcl.1P9zoqAU.c:1: warning: -fpic ignored for target (all code is position independent)<br>/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x16): undefined reference to `_VRT_count'<br>
/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x29): undefined reference to `_VRT_count'<br>/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x44): undefined reference to `_VRT_GetHdr'<br><br>[...]<br><br>/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x900): undefined reference to `_VRT_handling'<br>
/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x93f): undefined reference to `_VRT_init_dir'<br>/tmp/ccJkyGC4.o:vcl.1P9zoqAU.c:(.text+0x95d): undefined reference to `_VRT_fini_dir'<br>collect2: ld returned 1 exit status<br>
Running C-compiler failed, exit 1Compiled VCL program failed to load:<br> No such file or directory# top TEST ././tests/a00009.vtc passed (3.970s)<br>PASS: ./tests/a00009.vtc<br># top TEST ././tests/a00010.vtc passed (0.045s)<br>
PASS: ./tests/a00010.vtc<br>---- v1 FAIL VCL does not compile<br></b></font></div><br>The VCL command that I use was 'cc -shared /tmp/<span>varnish</span>-2.1.2/bin/varnishd/varnishd-cache_vrt.o
/tmp/varnish-2.1.2/bin/varnishd/varnishd-cache_backend_cfg.o
-L/usr/local/lib -L/tmp/varnish-2.1.2/bin/varnishd/ -lvarnish -lvarnishd
-Wl,--export-all-symbols -Wl,-x -o %o %s'
<br><br>How can I change default VCL compilation command in order to execute regression tests??<br><br><br><br><div class="gmail_quote">2010/7/21 Poul-Henning Kamp <span dir="ltr"><<a href="mailto:phk@phk.freebsd.dk" target="_blank">phk@phk.freebsd.dk</a>></span><div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">In message <<a href="mailto:AANLkTilMP1Wo1QXIWAr-Exw8NnpgQ2btdbKiQXn_05ot@mail.gmail.com" target="_blank">AANLkTilMP1Wo1QXIWAr-Exw8NnpgQ2btdbKiQXn_05ot@mail.gmail.com</a>>, =?IS<br>
<div>O-8859-1?Q?Jorge_D=EDaz?= writes:<br>
<br>
>After weeks making some tests I was able to build successful Varnish in<br>
>Cygwin, the problems that I have found are:<br>
<br>
</div>Does it pass the regression tests ?<br>
<font color="#888888"><br>
--<br>
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG | TCP/IP since RFC 956<br>
FreeBSD committer | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.<br>
</font></blockquote></div></div></div><br>
</blockquote></div><br>