[so] [Tema0] Problema teste windows

Alex Gorunescu algorunescu at yahoo.com
Sat Mar 5 20:43:45 EET 2011


Pai acelasi lucru am observat si eu. Tinand cont ca eu asta rulez la mine si 
merge, nu inteleg de ce pe server se intampla altceva.

 Alex




________________________________
From: Alexandru Damian <alexdamian1989 at gmail.com>
To: Sisteme de Operare <so at cursuri.cs.pub.ro>
Sent: Sat, March 5, 2011 8:19:35 PM
Subject: Re: [so] [Tema0] Problema teste windows

(Scz daca ma bag :) )
Sigur executabilul tau exista ? Vad din diff ca tu nu ai output deloc...


2011/3/5 Alex Gorunescu <algorunescu at yahoo.com>

Problema nu este ca-mi pica testul 4. Pe masina mea virtuala am dezarhivat 
testele in acealsi director cu sursele, dau "nmake /nologo build", apoi "make -f 
makefile.checker" si toate testele merg. Pe vmchecker aceleasi surse fac asta:
>
>
>tests.zip size:  719642
>make: *** No rule to make target `build-pre'.  Stop.
>
>checker: building
>fixing file dates ...
>
>C:\cygwin\home\Administrator>"C:\Program Files\Microsoft Visual Studio 
>9.0\VC\vcvarsall.bat"   && nmake /nologo build 
>
>  Setting environment for using Microsoft Visual Studio 2008 x86 tools.
>
>C:\cygwin\home\Administrator>goto :eof 
>	del *.obj
>Could Not Find C:\cygwin\home\Administrator\*.obj
>	del tema0.exe
>Could Not Find C:\cygwin\home\Administrator\tema0.exe
>  	del *.out
>Could Not
> Find C:\cygwin\home\Administrator\*.out
>	cl /c /w /nologo hash.c
>hash.c
>	cl /c /w /nologo tema0.c
>tema0.c
>	cl /nologo /Fetema0 tema0.obj hash.obj
>checker: building done
>make: *** No rule to make target `build-post'.  Stop.
>
________________________________
Compilarea temei și a testelor (stderr)
>
>Archive:  archive.zip
>  inflating: Makefile                
>  inflating: tema0.c                 
>  inflating: GNUmakefile             
>  inflating: Readme                  
>    inflating: hash.h                  
>  inflating: hash.c                  
>Archive:  tests.zip
> extracting: Makefile.checker        
>   creating: _test/
>  inflating: _test/test8.out         
>  inflating: _test/test8.sh          
>    inflating: _test/test7.sh          
>  inflating: _test/test2.in          
>  inflating: _test/hash.ref          
>  inflating: _test/test3.out         
>  inflating: _test/test5.sh          
>     inflating: _test/test5.out         
>  inflating: _test/test9.out         
>  inflating: _test/test1.sh          
>  inflating: _test/run_all.sh        
>  inflating: _test/test7.out         
> extracting: _test/test1.out         
>    inflating: _test/test2.out         
>  inflating: _test/test6.sh          
>  inflating: _test/test6.out         
>  inflating: _test/test9.in          
>  inflating: _test/test2.sh          
>    inflating: _test/test4.sh          
>  inflating: _test/test5.in          
>  inflating: _test/test4.out         
>  inflating: _test/test3.sh          
>  inflating: _test/test1.in          
>    inflating: _test/test8.in          
>  inflating: _test/test7.in          
>  inflating: _test/test9.sh          
>  inflating: _test/test3.in          
>    inflating: _test/test6.in          
>  inflating: _test/test4.in          
>  inflating: _test/buckets.ref       
>
________________________________
Execuția  testelor (stdout)
>
>checker: testing
>cd _test && ./run_all.sh
>Running test 1
>0a1
>> vincent rousseau sigmund
>--{ FAILED }--
>
>Running test 2
>0a1,3
>> siemens pearl
>> 
>  > siemens tawnya
>--{ FAILED }--
>
>Running test 3
>0a1,3
>> albertina picasso ashlee philippine sharleen sofia june
>> 
>> june picasso
>--{ FAILED }--
>
>Running test 4
>Si intrebarea este de ce ? Aceleasi surse pe masina virtuala data, cu testele 
>date merg fara probleme, si pe vmchecker o iau pe aratura cu totul. Mesajele cu 
>"not found" vin de la faptul ca rulez in makefile un clean inainte de build si 
>prima data nu are ce sa stearga. Nu cred ca aia e problema.
>
> Alex
>
>
>
>
>
________________________________
 From: Marius Gabriel Gutu <gabi.gutu at gmail.com>
>To: Sisteme de Operare <so at cursuri.cs.pub.ro>
>Sent: Sat, March 5, 2011 5:33:04 PM
>Subject: Re: [so] [Tema0] Problema teste windows
>
>
>
>2011/3/5 Alex Gorunescu <algorunescu at yahoo.com>
>
>
>>Am o problema exasperanta cu testele de windows. Pe masina virtuala ruleaza fara 
>>probleme, cand fac upload nu ruleaza niciunul. Pe vmchecker primele 3 pica si 
>>testul 4 ramane blocat. Practic, parca nu executa deloc. Compilarea mi-o arata 
>>ok. Nu stiu ce sa mai verific. Probabil este ceva legat de Makefile dar nu 
>>reusesc sa-mi dau seama ce pentru ca la mine merg fara probleme. Pe linux merge 
>>totul perfect dar pe windows nu prea am experienta cu c-ul. A mai patit cineva 
>>asta ? Vreo sugestie ?
>>
>>Alex
>>
>>
>>_______________________________________________
>>http://elf.cs.pub.ro/so/wiki/resurse/lista-discutii
>>
>
>Testul 4 ia de la stdin prin redirectare. Si eu pateam asa. Probabil nu  ai 
>implementat bine detectia sfarsitului de fisier in cazul in care  citesti de la 
>stdin.
>
>
>_______________________________________________
>http://elf.cs.pub.ro/so/wiki/resurse/lista-discutii
>


-- 
Alexandru Damian

Polytechnic University of Bucharest
   Faculty of Automatic Control and Computers



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20110305/2ce7046c/attachment.htm>


More information about the so mailing list