by pavithra_bhat » Wed Jan 05, 2011 8:34 pm
Hi Keerti,
Thanks for the reply. I tried out the fix suggested by you, but it did not work successfully. I have attached the error trace log of the test after commenting out those 2 lines here. The error log shows no difference between the expected and actual output. I have been able to successfully run this test on Linux without commenting out those 2 lines. This error now exists only on Windows. I feel it has got something to do with the x y positions of the console window during text comparison. What do you think? I have also attached one more test log file which is similar to the test log which I had sent in my earlier reply to you. In this test I am trying to compare multiple lines of build output text which is something like the once given below
**** Build of configuration Debug for project testproj ****
make all
Building file: ../src/testproj.c
Invoking: Cygwin C Compiler
gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/testproj.d" -MT"src/testproj.d" -o"src/testproj.o" "../src/testproj.c"
Finished building: ../src/testproj.c
Building target: testproj.exe
Invoking: Cygwin C Linker
gcc -o"testproj.exe" ./src/testproj.o
Finished building target: testproj.exe
When I try to run this test, it gives script error on both windows and linux. The error is visible between lines 6 to 11. Could you please let me know how do I include multiple lines of text for comparison in the test script.
Thanks & Regards,
Pavithra
- Attachments
-
- BuildTest.java
- Test File
- (6.05 KiB) Downloaded 4 times
-
- error_trace.log
- Error Log
- (1.59 KiB) Downloaded 4 times