[ell-i-developers] Re: Robot Framework Testing: Test Cases Design, Scripting and other Issues

  • From: Asif Sardar <engr.asif.sardar@xxxxxxxxxxxxxx>
  • To: ell-i-developers@xxxxxxxxxxxxx
  • Date: Mon, 2 Jun 2014 18:55:36 +0300

#!/opt/pym32/bin/python -> This didn't solved problem alone ... I had got
same error ...

But, but the actual problem was ... I was building docutils and
robotframework with wrong python. Also, 32-bit python was not completely
configured to 32 bit architecture ... I have made 32-bit python with
correct 32 bit flags and many software dependencies involved (unfortunately
this happens when manually building something from source code).

After making and installing 32-bit python, I have installed the docutils
and robotframework with this python. Now the python library script ctype
module  is loading the shared library successfully. But, I still have
errors:

/home/asif/Ell-i-Working-Directory/Ell-i-Software-Testing/ELL-i-PyBot-Tests/test-scripts/
==============================================================================
DigitalRead

==============================================================================
Read high from pin                                                    |
FAIL |
Setup failed:
*AttributeError: ../libemulator.so: undefined symbol: pinMode*
------------------------------------------------------------------------------
Read low from pin                                                     |
FAIL |
Setup failed:
*AttributeError: ../libemulator.so: undefined symbol: pinMode*
------------------------------------------------------------------------------
DigitalRead                                                           |
FAIL |
2 critical tests, 0 passed, 2 failed
2 tests total, 0 passed, 2 failed
==============================================================================
Output:
 
/home/asif/Ell-i-Working-Directory/Ell-i-Software-Testing/ELL-i-PyBot-Tests/test-results/DigitalRead/output.xml
Log:
/home/asif/Ell-i-Working-Directory/Ell-i-Software-Testing/ELL-i-PyBot-Tests/test-results/DigitalRead/log.html
Report:
 
/home/asif/Ell-i-Working-Directory/Ell-i-Software-Testing/ELL-i-PyBot-Tests/test-results/DigitalRead/report.html


On Mon, Jun 2, 2014 at 2:15 PM, Pekka Nikander <pekka.nikander@xxxxxx>
wrote:

>
> On 2014–06–02, at 13:08 , Asif Sardar <engr.asif.sardar@xxxxxxxxxxxxxx>
> wrote:
>
> > I am using the run scripts from
> https://github.com/Ell-i/ELL-i-PyBot-Tests/blob/master/run-tests/DigitalRead.py
>
> In the script you explicitly ask it to run the default python:
>
> #!/usr/bin/python
>
> Change that to
>
> #!/opt/pym32/bin/python
>
> --Pekka
>
>


-- 



*With Best Regards,Asif Sardar.+358 43 8265795*

Other related posts: