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
piTest: different verions? -> different behaviour
-
- Posts: 6
- Joined: 28 Oct 2024, 10:44
Re: piTest: different verions? -> different behaviour
Hi
The you can find the sources on GitLab / GitHub: https://gitlab.com/revolutionpi/revpi-pitest/
Nicolai
The you can find the sources on GitLab / GitHub: https://gitlab.com/revolutionpi/revpi-pitest/
Nicolai
-
- Posts: 6
- Joined: 28 Oct 2024, 10:44
Re: piTest: different verions? -> different behaviour
Thank you!
It's working fine. Now the same behaviour like /usr/bin/piTest
P.S: i had to install cmake first
It's working fine. Now the same behaviour like /usr/bin/piTest
P.S: i had to install cmake first