summaryrefslogtreecommitdiff
path: root/tests/test.cpp
diff options
context:
space:
mode:
authorThomas Brand <tom@trellis.ch>2019-02-08 17:27:12 +0100
committerThomas Brand <tom@trellis.ch>2019-02-08 17:27:12 +0100
commitbe77f9e4f84cb4a96481a028896ed7b3078f3001 (patch)
tree66886c6aa01f5d4a89d3dd427b057c78e966f860 /tests/test.cpp
parenta752bfaa618457ea9ad366794f0751cc96ba2578 (diff)
downloadjack2-jack_property_test.tar.gz
Add script to test jack_property (Metadata)jack_property_test
Running script 'jack_property_test.sh' with recent jack1 and jack2 git builds show different results. Notes: -jack1 gives only false positives due to a small text change -jack2 has issues using client name as subject/identifier/uuid -> see '** FAILED' lines -jack1 is much faster in performing the same script -running the script in a loop causes memory problems with jack2 output running with jack1: test system_c1: jack_property -D OK: 0 ** FAILED: JACK metadata successfully delete ** EXP EQ: JACK metadata successfully deleted test system_c2: jack_property -l OK: 0 OK: test system_c3: jack_property -c -l system OK: 0 OK: test system_c4: jack_property -c -s system client_key client_value OK: 0 OK: test system_c5: jack_property -c -l system OK: 0 OK: key: client_key value: client_value test system_c6: jack_property -c -l system client_key OK: 0 OK: client_value test system_c7: jack_property -l OK: 0 OK: key: client_key value: client_value test system_c8: jack_property -p -l system:non OK: 0 OK: cannot find port name system:non test system_p1: jack_property -D OK: 0 ** FAILED: JACK metadata successfully delete ** EXP EQ: JACK metadata successfully deleted test system_p2: jack_property -l OK: 0 OK: test system_p3: jack_property -p -l system:playback_1 OK: 0 OK: test system_p4: jack_property -p -s system:playback_1 port_key port_value OK: 0 OK: test system_p5: jack_property -p -l system:playback_1 OK: 0 OK: key: port_key value: port_value test system_p6: jack_property -p -l system:playback_1 port_key OK: 0 OK: port_value test system_p7: jack_property -p -d system:playback_1 port_key OK: 0 OK: test system_p8: jack_property -p -l system:playback_1 port_key OK: 0 OK: Value not found for port_key of system:playback_1 test system_p9: jack_property -p -d system:playback_1 port_key OK: 0 OK: "port_key" property not removed for system:playback_1 test system_p10: jack_property -p -l system:playback_1 OK: 0 OK: test system_p11: jack_property -p -l system:playback_1 non OK: 0 OK: Value not found for non of system:playback_1 test system_p12: jack_property -c -l non OK: 0 OK: cannot get UUID for client named non metro:120_bpm test metro_c1: jack_property -D OK: 0 ** FAILED: JACK metadata successfully delete ** EXP EQ: JACK metadata successfully deleted test metro_c2: jack_property -l OK: 0 OK: test metro_c3: jack_property -c -l metro OK: 0 OK: test metro_c4: jack_property -c -s metro client_key client_value OK: 0 OK: test metro_c5: jack_property -c -l metro OK: 0 OK: key: client_key value: client_value test metro_c6: jack_property -c -l metro client_key OK: 0 OK: client_value test metro_c7: jack_property -l OK: 0 OK: key: client_key value: client_value test metro_c8: jack_property -p -l metro:non OK: 0 OK: cannot find port name metro:non test metro_p1: jack_property -D OK: 0 ** FAILED: JACK metadata successfully delete ** EXP EQ: JACK metadata successfully deleted test metro_p2: jack_property -l OK: 0 OK: test metro_p3: jack_property -p -l metro:120_bpm OK: 0 OK: test metro_p4: jack_property -p -s metro:120_bpm port_key port_value OK: 0 OK: test metro_p5: jack_property -p -l metro:120_bpm OK: 0 OK: key: port_key value: port_value test metro_p6: jack_property -p -l metro:120_bpm port_key OK: 0 OK: port_value test metro_p7: jack_property -p -d metro:120_bpm port_key OK: 0 OK: test metro_p8: jack_property -p -l metro:120_bpm port_key OK: 0 OK: Value not found for port_key of metro:120_bpm test metro_p9: jack_property -p -d metro:120_bpm port_key OK: 0 OK: "port_key" property not removed for metro:120_bpm test metro_p10: jack_property -p -l metro:120_bpm OK: 0 OK: test metro_p11: jack_property -p -l metro:120_bpm non OK: 0 OK: Value not found for non of metro:120_bpm test metro_p12: jack_property -c -l non OK: 0 OK: cannot get UUID for client named non JACK metadata successfully delete ./jack_property_test.sh: line 215: 21025 Hangup jack_metro -b120 done, exit status is 1 real 0m1.011s user 0m0.125s sys 0m0.324s ========================================== output running with jack2: test system_c1: jack_property -D OK: 0 OK: JACK metadata successfully deleted test system_c2: jack_property -l OK: 0 OK: test system_c3: jack_property -c -l system OK: 0 OK: test system_c4: jack_property -c -s system client_key client_value OK: 0 OK: test system_c5: jack_property -c -l system OK: 0 OK: key: client_key value: client_value test system_c6: jack_property -c -l system client_key OK: 0 OK: client_value test system_c7: jack_property -l OK: 0 OK: key: client_key value: client_value test system_c8: jack_property -p -l system:non OK: 0 OK: cannot find port name system:non test system_p1: jack_property -D OK: 0 OK: JACK metadata successfully deleted test system_p2: jack_property -l OK: 0 OK: test system_p3: jack_property -p -l system:playback_1 OK: 0 OK: test system_p4: jack_property -p -s system:playback_1 port_key port_value OK: 0 OK: test system_p5: jack_property -p -l system:playback_1 OK: 0 OK: key: port_key value: port_value test system_p6: jack_property -p -l system:playback_1 port_key OK: 0 OK: port_value test system_p7: jack_property -p -d system:playback_1 port_key OK: 0 OK: test system_p8: jack_property -p -l system:playback_1 port_key OK: 0 OK: Value not found for port_key of system:playback_1 test system_p9: jack_property -p -d system:playback_1 port_key OK: 0 OK: "port_key" property not removed for system:playback_1 test system_p10: jack_property -p -l system:playback_1 OK: 0 OK: test system_p11: jack_property -p -l system:playback_1 non OK: 0 OK: Value not found for non of system:playback_1 test system_p12: jack_property -c -l non OK: 0 OK: cannot get UUID for client named non metro:120_bpm test metro_c1: jack_property -D OK: 0 OK: JACK metadata successfully deleted test metro_c2: jack_property -l OK: 0 OK: test metro_c3: jack_property -c -l metro ** FAILED: 255 ** EXP EQ: 0 ** FAILED: cannot parse client UUID as UUID ** EXP EQ: test metro_c4: jack_property -c -s metro client_key client_value ** FAILED: 255 ** EXP EQ: 0 ** FAILED: cannot parse client UUID as UUID ** EXP EQ: test metro_c5: jack_property -c -l metro ** FAILED: 255 ** EXP EQ: 0 ** FAILED: cannot parse client UUID as UUID ** EXP EQ: key: client_key value: client_value test metro_c6: jack_property -c -l metro client_key ** FAILED: 255 ** EXP EQ: 0 ** FAILED: cannot parse client UUID as UUID ** EXP EQ: client_value test metro_c7: jack_property -l OK: 0 ** FAILED: ** EXP EQ: key: client_key value: client_value test metro_c8: jack_property -p -l metro:non OK: 0 OK: cannot find port name metro:non test metro_p1: jack_property -D OK: 0 OK: JACK metadata successfully deleted test metro_p2: jack_property -l OK: 0 OK: test metro_p3: jack_property -p -l metro:120_bpm OK: 0 OK: test metro_p4: jack_property -p -s metro:120_bpm port_key port_value OK: 0 OK: test metro_p5: jack_property -p -l metro:120_bpm OK: 0 OK: key: port_key value: port_value test metro_p6: jack_property -p -l metro:120_bpm port_key OK: 0 OK: port_value test metro_p7: jack_property -p -d metro:120_bpm port_key OK: 0 OK: test metro_p8: jack_property -p -l metro:120_bpm port_key OK: 0 OK: Value not found for port_key of metro:120_bpm test metro_p9: jack_property -p -d metro:120_bpm port_key OK: 0 OK: "port_key" property not removed for metro:120_bpm test metro_p10: jack_property -p -l metro:120_bpm OK: 0 OK: test metro_p11: jack_property -p -l metro:120_bpm non OK: 0 OK: Value not found for non of metro:120_bpm test metro_p12: jack_property -c -l non OK: 0 OK: cannot get UUID for client named non JACK metadata successfully deleted signal received, exiting ... done, exit status is 1 real 0m2.806s user 0m0.176s sys 0m0.374s
Diffstat (limited to 'tests/test.cpp')
0 files changed, 0 insertions, 0 deletions