piTest: different verions? -> different behaviour

Topics about the Software of Revolution Pi
Post Reply
AgentSmith
Posts: 6
Joined: 28 Oct 2024, 10:44

piTest: different verions? -> different behaviour

Post by AgentSmith »

Hello,

i downloaded "PiTest Demo with source code (ID: 1149)" from the download section:
https://revolutionpi.com/en/download/11 ... 1730097308

The i compiled the C-sources and testet "my" piTest by reading the RevPILed, which works:
./piTest -r RevPiLED

But it gaves me an internal error, when i want to read variables, which are not defined, e.g.:
./piTest -r xxx
Could not read variable xxx. Internal Error



The i did the same test with the "piTest"-Tool, which is already there in "/usr/bin/piTest":
piTest -r xxx
Cannot find variable 'xxx'


So, the behavior of /usr/bin/piTest makes more sense.

Where are the actual, correct sources of "piTest"?

I found out, the there are sources in /home/pi/demo/piTest.
These sources are a little bit different than the sources from the download.
Especially piControlIf.c and piControlIf.h
User avatar
nicolaiB
KUNBUS
Posts: 915
Joined: 21 Jun 2018, 10:33
Location: Berlin
Contact:

Re: piTest: different verions? -> different behaviour

Post by nicolaiB »

Hi

The you can find the sources on GitLab / GitHub: https://gitlab.com/revolutionpi/revpi-pitest/

Nicolai
AgentSmith
Posts: 6
Joined: 28 Oct 2024, 10:44

Re: piTest: different verions? -> different behaviour

Post by AgentSmith »

Thank you!

It's working fine. Now the same behaviour like /usr/bin/piTest

P.S: i had to install cmake first :)
Post Reply