Hi,
I am trying to run the unit tests on MacOS(10.8.4).
Is this supported?
If not, on which platform do you develop?
This is the console output I get.
./unittest.sh
~/Documents/joep/dmx/qlcplus ~/Documents/joep/dmx/qlcplus
dyld: Library not loaded: @executable_path/../Frameworks/libportaudio.2.dylib
Referenced from: /Users/joep/Documents/joep/dmx/qlcplus/engine/src/libqlcplusengine.1.0.0.dylib
Reason: image not found
./test.sh: line 4: 77207 Trace/BPT trap: 5 ./bus_test
~/Documents/joep/dmx/qlcplus
133 Engine unit tests failed. Please fix before commit.
I did manage to compile (and run) the program so I guess the frameworks should be at some place on my harddrive.
Thanks,
Joep Admiraal
Unit tests on MacOS
The shell script appears to be assuming the frameworks are built in the current build directory which is not normally the case on the Mac.
Rather than run the unittest.sh, use terminal, cd {qlc+ source dir} and run the 'make check'..i.e.
> cd /Volumes/Test/qlc+ (...where ever your source is.. )
> make check
.. and wait for all the output
Note: The Vellman test will fail as it is a windows only beast.
Rather than run the unittest.sh, use terminal, cd {qlc+ source dir} and run the 'make check'..i.e.
> cd /Volumes/Test/qlc+ (...where ever your source is.. )
> make check
.. and wait for all the output
Note: The Vellman test will fail as it is a windows only beast.
Thanks,
It seems I had two problems, one was that I was running the tests in a terminal that was opened before I downloaded the stuff to compile qlcplus.
The other was the `make check` versus unittest.sh.
The tests are running fine now.
It seems I had two problems, one was that I was running the tests in a terminal that was opened before I downloaded the stuff to compile qlcplus.
The other was the `make check` versus unittest.sh.
The tests are running fine now.