Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] All tests fail #32

Open
kubark42 opened this issue Feb 2, 2019 · 9 comments
Open

[macOS] All tests fail #32

kubark42 opened this issue Feb 2, 2019 · 9 comments

Comments

@kubark42
Copy link
Contributor

kubark42 commented Feb 2, 2019

Using information at https://github.com/nurupo/vlc-pause-click-plugin/blob/master/BUILD.md, I was able to get vlc-bittorrent to compile without error on macOS Mojave. Yay! However, I cannot get the plugin to do anything, and when I try make check, all tests fail:

user$ make check

Making check in src
Making check in test
/Applications/Xcode.app/Contents/Developer/usr/bin/make  vlcdummy miniclient downloaddummy
gcc -DHAVE_CONFIG_H -I. -I../src    -I/Applications/VLC.app/Contents/MacOS/include -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -g -O2 -MT vlcdummy-vlcdummy.o -MD -MP -MF .deps/vlcdummy-vlcdummy.Tpo -c -o vlcdummy-vlcdummy.o `test -f 'vlcdummy.c' || echo './'`vlcdummy.c
mv -f .deps/vlcdummy-vlcdummy.Tpo .deps/vlcdummy-vlcdummy.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc -I/Applications/VLC.app/Contents/MacOS/include -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -g -O2   -o vlcdummy vlcdummy-vlcdummy.o -L/Applications/VLC.app/Contents/MacOS/lib -lvlc 
libtool: link: gcc -I/Applications/VLC.app/Contents/MacOS/include -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -g -O2 -o vlcdummy vlcdummy-vlcdummy.o  -L/Applications/VLC.app/Contents/MacOS/lib -lvlc
g++ -DHAVE_CONFIG_H -I. -I../src    -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11 -MT miniclient-miniclient.o -MD -MP -MF .deps/miniclient-miniclient.Tpo -c -o miniclient-miniclient.o `test -f 'miniclient.cpp' || echo './'`miniclient.cpp
mv -f .deps/miniclient-miniclient.Tpo .deps/miniclient-miniclient.Po
/bin/sh ../libtool  --tag=CXX   --mode=link g++ -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11   -o miniclient miniclient-miniclient.o -L/usr/local/Cellar/libtorrent-rasterbar/1.1.11/lib -ltorrent-rasterbar -lboost_system -lpthread 
libtool: link: g++ -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11 -o miniclient miniclient-miniclient.o -Wl,-bind_at_load  -L/usr/local/Cellar/libtorrent-rasterbar/1.1.11/lib -ltorrent-rasterbar -lboost_system -lpthread
g++ -DHAVE_CONFIG_H -I. -I../src    -I../src -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -D__PLUGIN__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/Users/kenz/Documents/vlc-3.0.6/include -I/Users/kenz/Documents/vlc-3.0.6/include/vlc/plugins -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11 -MT downloaddummy-downloaddummy.o -MD -MP -MF .deps/downloaddummy-downloaddummy.Tpo -c -o downloaddummy-downloaddummy.o `test -f 'downloaddummy.cpp' || echo './'`downloaddummy.cpp
mv -f .deps/downloaddummy-downloaddummy.Tpo .deps/downloaddummy-downloaddummy.Po
g++ -DHAVE_CONFIG_H -I. -I../src    -I../src -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -D__PLUGIN__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/Users/kenz/Documents/vlc-3.0.6/include -I/Users/kenz/Documents/vlc-3.0.6/include/vlc/plugins -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11 -MT ../src/downloaddummy-download.o -MD -MP -MF ../src/.deps/downloaddummy-download.Tpo -c -o ../src/downloaddummy-download.o `test -f '../src/download.cpp' || echo './'`../src/download.cpp
mv -f ../src/.deps/downloaddummy-download.Tpo ../src/.deps/downloaddummy-download.Po
g++ -DHAVE_CONFIG_H -I. -I../src    -I../src -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -D__PLUGIN__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/Users/kenz/Documents/vlc-3.0.6/include -I/Users/kenz/Documents/vlc-3.0.6/include/vlc/plugins -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11 -MT ../src/downloaddummy-libtorrent.o -MD -MP -MF ../src/.deps/downloaddummy-libtorrent.Tpo -c -o ../src/downloaddummy-libtorrent.o `test -f '../src/libtorrent.cpp' || echo './'`../src/libtorrent.cpp
mv -f ../src/.deps/downloaddummy-libtorrent.Tpo ../src/.deps/downloaddummy-libtorrent.Po
/bin/sh ../libtool  --tag=CXX   --mode=link g++ -I../src -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -D__PLUGIN__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/Users/kenz/Documents/vlc-3.0.6/include -I/Users/kenz/Documents/vlc-3.0.6/include/vlc/plugins -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11 -lpthread  -o downloaddummy downloaddummy-downloaddummy.o ../src/downloaddummy-download.o ../src/downloaddummy-libtorrent.o -L/usr/local/Cellar/libtorrent-rasterbar/1.1.11/lib -ltorrent-rasterbar -lboost_system -L/Applications/VLC.app/Contents/MacOS/lib -lvlccore 
libtool: link: g++ -I../src -DTORRENT_USE_OPENSSL -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DTORRENT_LINKING_SHARED -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include -I/usr/local/Cellar/libtorrent-rasterbar/1.1.11/include/libtorrent -D__PLUGIN__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/Users/kenz/Documents/vlc-3.0.6/include -I/Users/kenz/Documents/vlc-3.0.6/include/vlc/plugins -Wno-deprecated-declarations -Wall -Wextra -Wconversion -Wsign-compare -Wsign-conversion -Wno-unused-parameter -Wno-unused -std=c++11 -o downloaddummy downloaddummy-downloaddummy.o ../src/downloaddummy-download.o ../src/downloaddummy-libtorrent.o -Wl,-bind_at_load  -lpthread -L/usr/local/Cellar/libtorrent-rasterbar/1.1.11/lib -ltorrent-rasterbar -lboost_system -L/Applications/VLC.app/Contents/MacOS/lib -lvlccore
/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
FAIL: vlcdummy.test 1 # data/flags.torrent
FAIL: vlcdummy.test 2 # data/nasa1.ogv.torrent
FAIL: vlcdummy.test 3 # data/nasa.torrent
FAIL: vlcdummy.test 4 # data/sweden.png.torrent
FAIL: vlcdummy.test 5 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
FAIL: vlcdummy.test 6 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
FAIL: vlcdummy.test 7 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
FAIL: vlcdummy.test 8 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
FAIL: vlcdummy.test 9 # data/flags.torrent
FAIL: vlcdummy.test 10 # data/nasa1.ogv.torrent
FAIL: vlcdummy.test 11 # data/nasa.torrent
FAIL: vlcdummy.test 12 # data/sweden.png.torrent
FAIL: vlcdummy.test 13 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
FAIL: vlcdummy.test 14 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
FAIL: vlcdummy.test 15 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
FAIL: vlcdummy.test 16 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
ERROR: vlcdummy.test - exited with status 1
FAIL: downloaddummy.test 1 # file://./data/flags.torrent
FAIL: downloaddummy.test 2 # file://./data/nasa1.ogv.torrent
FAIL: downloaddummy.test 3 # file://./data/nasa.torrent
FAIL: downloaddummy.test 4 # file://./data/sweden.png.torrent
FAIL: downloaddummy.test 5 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
FAIL: downloaddummy.test 6 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
FAIL: downloaddummy.test 7 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
FAIL: downloaddummy.test 8 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
FAIL: downloaddummy.test 9 # file://./data/flags.torrent
FAIL: downloaddummy.test 10 # file://./data/nasa1.ogv.torrent
FAIL: downloaddummy.test 11 # file://./data/nasa.torrent
FAIL: downloaddummy.test 12 # file://./data/sweden.png.torrent
FAIL: downloaddummy.test 13 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
FAIL: downloaddummy.test 14 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
FAIL: downloaddummy.test 15 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
FAIL: downloaddummy.test 16 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
============================================================================
Testsuite summary for vlc-plugin-bittorrent 2.6
============================================================================
# TOTAL: 33
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  32
# XPASS: 0
# ERROR: 1
============================================================================
See test/test-suite.log
Please report to [email protected]
============================================================================
make[3]: *** [test-suite.log] Error 1
make[2]: *** [check-TESTS] Error 2
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1

Here's the log file in case it's useful:

test-suite.log

====================================================
   vlc-plugin-bittorrent 2.6: test/test-suite.log
====================================================

# TOTAL: 33
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  32
# XPASS: 0
# ERROR: 1

.. contents:: :depth: 2

ERROR: vlcdummy
===============

1..16
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./vlcdummy data/flags.torrent --print-item --play-item --print-subitems
# --- data/flags.torrent.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:56:48.000000000 -0500
# @@ -1,8 +0,0 @@
# -VLCDUMMY ITEM flags.torrent
# -VLCDUMMY STATE flags.torrent OPENING
# -VLCDUMMY STATE flags.torrent PLAYING
# -VLCDUMMY SUBITEM /denmark.png
# -VLCDUMMY SUBITEM /norway.png
# -VLCDUMMY SUBITEM /sweden.png
# -VLCDUMMY STATE flags.torrent ENDED (0 audio frames, 0 video frames)
# -VLCDUMMY END
not ok # data/flags.torrent
FAIL: vlcdummy.test 1 # data/flags.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
./vlcdummy.test: line 27: 60207 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
~/Documents/vlc-bittorrent/test
./vlcdummy data/nasa1.ogv.torrent --print-item --play-item --print-subitems
# --- data/nasa1.ogv.torrent.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:56:49.000000000 -0500
# @@ -1,6 +0,0 @@
# -VLCDUMMY ITEM nasa1.ogv.torrent
# -VLCDUMMY STATE nasa1.ogv.torrent OPENING
# -VLCDUMMY STATE nasa1.ogv.torrent PLAYING
# -VLCDUMMY SUBITEM nasa1.ogv
# -VLCDUMMY STATE nasa1.ogv.torrent ENDED (0 audio frames, 0 video frames)
# -VLCDUMMY END
./vlcdummy.test: line 41: kill: %1: no such job
not ok # data/nasa1.ogv.torrent
FAIL: vlcdummy.test 2 # data/nasa1.ogv.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./vlcdummy data/nasa.torrent --print-item --play-item --print-subitems
# --- data/nasa.torrent.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:56:50.000000000 -0500
# @@ -1,7 +0,0 @@
# -VLCDUMMY ITEM nasa.torrent
# -VLCDUMMY STATE nasa.torrent OPENING
# -VLCDUMMY STATE nasa.torrent PLAYING
# -VLCDUMMY SUBITEM /nasa2.ogv
# -VLCDUMMY SUBITEM /nasa3.ogv
# -VLCDUMMY STATE nasa.torrent ENDED (0 audio frames, 0 video frames)
# -VLCDUMMY END
./vlcdummy.test: line 41: kill: %1: no such job
not ok # data/nasa.torrent
FAIL: vlcdummy.test 3 # data/nasa.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./vlcdummy data/sweden.png.torrent --print-item --play-item --print-subitems
# --- data/sweden.png.torrent.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:56:51.000000000 -0500
# @@ -1,6 +0,0 @@
# -VLCDUMMY ITEM sweden.png.torrent
# -VLCDUMMY STATE sweden.png.torrent OPENING
# -VLCDUMMY STATE sweden.png.torrent PLAYING
# -VLCDUMMY SUBITEM sweden.png
# -VLCDUMMY STATE sweden.png.torrent ENDED (0 audio frames, 0 video frames)
# -VLCDUMMY END
./vlcdummy.test: line 41: kill: %1: no such job
not ok # data/sweden.png.torrent
FAIL: vlcdummy.test 4 # data/sweden.png.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./vlcdummy magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags --print-item --play-item --print-subitems
# --- data/flags.torrent-magnet.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:56:52.000000000 -0500
# @@ -1,8 +0,0 @@
# -VLCDUMMY ITEM magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
# -VLCDUMMY STATE magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags OPENING
# -VLCDUMMY STATE magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags PLAYING
# -VLCDUMMY SUBITEM /denmark.png
# -VLCDUMMY SUBITEM /norway.png
# -VLCDUMMY SUBITEM /sweden.png
# -VLCDUMMY STATE magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags ENDED (0 audio frames, 0 video frames)
# -VLCDUMMY END
./vlcdummy.test: line 41: kill: %1: no such job
not ok # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
FAIL: vlcdummy.test 5 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./vlcdummy magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv --print-item --play-item --print-subitems
# --- data/nasa1.ogv.torrent-magnet.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:56:53.000000000 -0500
# @@ -1,6 +0,0 @@
# -VLCDUMMY ITEM magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
# -VLCDUMMY STATE magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv OPENING
# -VLCDUMMY STATE magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv PLAYING
# -VLCDUMMY SUBITEM nasa1.ogv
# -VLCDUMMY STATE magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv ENDED (0 audio frames, 0 video frames)
./vlcdummy.test: line 41: kill: %1: no such job
# -VLCDUMMY END
not ok # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
FAIL: vlcdummy.test 6 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./vlcdummy magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa --print-item --play-item --print-subitems
# --- data/nasa.torrent-magnet.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:56:54.000000000 -0500
# @@ -1,7 +0,0 @@
# -VLCDUMMY ITEM magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
# -VLCDUMMY STATE magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa OPENING
# -VLCDUMMY STATE magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa PLAYING
# -VLCDUMMY SUBITEM /nasa2.ogv
# -VLCDUMMY SUBITEM /nasa3.ogv
# -VLCDUMMY STATE magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa ENDED (0 audio frames, 0 video frames)
# -VLCDUMMY END
./vlcdummy.test: line 41: kill: %1: no such job
not ok # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
FAIL: vlcdummy.test 7 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./vlcdummy magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png --print-item --play-item --print-subitems
# --- data/sweden.png.torrent-magnet.metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:56:55.000000000 -0500
# @@ -1,6 +0,0 @@
# -VLCDUMMY ITEM magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
# -VLCDUMMY STATE magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png OPENING
# -VLCDUMMY STATE magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png PLAYING
# -VLCDUMMY SUBITEM sweden.png
# -VLCDUMMY STATE magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png ENDED (0 audio frames, 0 video frames)
# -VLCDUMMY END
./vlcdummy.test: line 41: kill: %1: no such job
not ok # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
FAIL: vlcdummy.test 8 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./vlcdummy data/flags.torrent --print-item --play-item --print-subitems --play-subitems
# --- data/flags.torrent.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:56:56.000000000 -0500
# @@ -1,17 +0,0 @@
# -VLCDUMMY ITEM flags.torrent
# -VLCDUMMY STATE flags.torrent OPENING
# -VLCDUMMY STATE flags.torrent PLAYING
# -VLCDUMMY SUBITEM /denmark.png
# -VLCDUMMY SUBITEM /norway.png
# -VLCDUMMY SUBITEM /sweden.png
# -VLCDUMMY STATE flags.torrent ENDED (0 audio frames, 0 video frames)
# -VLCDUMMY STATE /denmark.png OPENING
# -VLCDUMMY STATE /denmark.png PLAYING
# -VLCDUMMY STATE /denmark.png ENDED (0 audio frames, >0 video frames)
# -VLCDUMMY STATE /norway.png OPENING
# -VLCDUMMY STATE /norway.png PLAYING
# -VLCDUMMY STATE /norway.png ENDED (0 audio frames, >0 video frames)
# -VLCDUMMY STATE /sweden.png OPENING
# -VLCDUMMY STATE /sweden.png PLAYING
# -VLCDUMMY STATE /sweden.png ENDED (0 audio frames, >0 video frames)
# -VLCDUMMY END
./vlcdummy.test: line 41: kill: %1: no such job
not ok # data/flags.torrent
FAIL: vlcdummy.test 9 # data/flags.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./vlcdummy data/nasa1.ogv.torrent --print-item --play-item --print-subitems --play-subitems
# --- data/nasa1.ogv.torrent.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:56:57.000000000 -0500
# @@ -1,9 +0,0 @@
# -VLCDUMMY ITEM nasa1.ogv.torrent
# -VLCDUMMY STATE nasa1.ogv.torrent OPENING
# -VLCDUMMY STATE nasa1.ogv.torrent PLAYING
# -VLCDUMMY SUBITEM nasa1.ogv
# -VLCDUMMY STATE nasa1.ogv.torrent ENDED (0 audio frames, 0 video frames)
# -VLCDUMMY STATE nasa1.ogv OPENING
# -VLCDUMMY STATE nasa1.ogv PLAYING
# -VLCDUMMY STATE nasa1.ogv ENDED (0 audio frames, >0 video frames)
# -VLCDUMMY END
./vlcdummy.test: line 41: kill: %1: no such job
not ok # data/nasa1.ogv.torrent
FAIL: vlcdummy.test 10 # data/nasa1.ogv.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./vlcdummy data/nasa.torrent --print-item --play-item --print-subitems --play-subitems
# --- data/nasa.torrent.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:56:58.000000000 -0500
# @@ -1,13 +0,0 @@
# -VLCDUMMY ITEM nasa.torrent
# -VLCDUMMY STATE nasa.torrent OPENING
# -VLCDUMMY STATE nasa.torrent PLAYING
# -VLCDUMMY SUBITEM /nasa2.ogv
# -VLCDUMMY SUBITEM /nasa3.ogv
# -VLCDUMMY STATE nasa.torrent ENDED (0 audio frames, 0 video frames)
# -VLCDUMMY STATE /nasa2.ogv OPENING
# -VLCDUMMY STATE /nasa2.ogv PLAYING
# -VLCDUMMY STATE /nasa2.ogv ENDED (0 audio frames, >0 video frames)
# -VLCDUMMY STATE /nasa3.ogv OPENING
# -VLCDUMMY STATE /nasa3.ogv PLAYING
# -VLCDUMMY STATE /nasa3.ogv ENDED (0 audio frames, >0 video frames)
# -VLCDUMMY END
./vlcdummy.test: line 41: kill: %1: no such job
not ok # data/nasa.torrent
FAIL: vlcdummy.test 11 # data/nasa.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./vlcdummy data/sweden.png.torrent --print-item --play-item --print-subitems --play-subitems
# --- data/sweden.png.torrent.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:56:59.000000000 -0500
# @@ -1,9 +0,0 @@
# -VLCDUMMY ITEM sweden.png.torrent
# -VLCDUMMY STATE sweden.png.torrent OPENING
# -VLCDUMMY STATE sweden.png.torrent PLAYING
# -VLCDUMMY SUBITEM sweden.png
# -VLCDUMMY STATE sweden.png.torrent ENDED (0 audio frames, 0 video frames)
# -VLCDUMMY STATE sweden.png OPENING
# -VLCDUMMY STATE sweden.png PLAYING
# -VLCDUMMY STATE sweden.png ENDED (0 audio frames, >0 video frames)
./vlcdummy.test: line 41: kill: %1: no such job
# -VLCDUMMY END
not ok # data/sweden.png.torrent
FAIL: vlcdummy.test 12 # data/sweden.png.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./vlcdummy magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags --print-item --play-item --print-subitems --play-subitems
# --- data/flags.torrent-magnet.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:00.000000000 -0500
# @@ -1,17 +0,0 @@
# -VLCDUMMY ITEM magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
# -VLCDUMMY STATE magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags OPENING
# -VLCDUMMY STATE magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags PLAYING
# -VLCDUMMY SUBITEM /denmark.png
# -VLCDUMMY SUBITEM /norway.png
# -VLCDUMMY SUBITEM /sweden.png
# -VLCDUMMY STATE magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags ENDED (0 audio frames, 0 video frames)
# -VLCDUMMY STATE /denmark.png OPENING
# -VLCDUMMY STATE /denmark.png PLAYING
# -VLCDUMMY STATE /denmark.png ENDED (0 audio frames, >0 video frames)
# -VLCDUMMY STATE /norway.png OPENING
# -VLCDUMMY STATE /norway.png PLAYING
# -VLCDUMMY STATE /norway.png ENDED (0 audio frames, >0 video frames)
# -VLCDUMMY STATE /sweden.png OPENING
# -VLCDUMMY STATE /sweden.png PLAYING
# -VLCDUMMY STATE /sweden.png ENDED (0 audio frames, >0 video frames)
# -VLCDUMMY END
./vlcdummy.test: line 41: kill: %1: no such job
not ok # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
FAIL: vlcdummy.test 13 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./vlcdummy magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv --print-item --play-item --print-subitems --play-subitems
# --- data/nasa1.ogv.torrent-magnet.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:01.000000000 -0500
# @@ -1,9 +0,0 @@
# -VLCDUMMY ITEM magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
# -VLCDUMMY STATE magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv OPENING
# -VLCDUMMY STATE magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv PLAYING
# -VLCDUMMY SUBITEM nasa1.ogv
# -VLCDUMMY STATE magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv ENDED (0 audio frames, 0 video frames)
# -VLCDUMMY STATE nasa1.ogv OPENING
# -VLCDUMMY STATE nasa1.ogv PLAYING
# -VLCDUMMY STATE nasa1.ogv ENDED (0 audio frames, >0 video frames)
./vlcdummy.test: line 41: kill: %1: no such job
# -VLCDUMMY END
not ok # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
FAIL: vlcdummy.test 14 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./vlcdummy magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa --print-item --play-item --print-subitems --play-subitems
# --- data/nasa.torrent-magnet.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:02.000000000 -0500
# @@ -1,13 +0,0 @@
# -VLCDUMMY ITEM magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
# -VLCDUMMY STATE magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa OPENING
# -VLCDUMMY STATE magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa PLAYING
# -VLCDUMMY SUBITEM /nasa2.ogv
# -VLCDUMMY SUBITEM /nasa3.ogv
# -VLCDUMMY STATE magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa ENDED (0 audio frames, 0 video frames)
# -VLCDUMMY STATE /nasa2.ogv OPENING
# -VLCDUMMY STATE /nasa2.ogv PLAYING
# -VLCDUMMY STATE /nasa2.ogv ENDED (0 audio frames, >0 video frames)
# -VLCDUMMY STATE /nasa3.ogv OPENING
# -VLCDUMMY STATE /nasa3.ogv PLAYING
# -VLCDUMMY STATE /nasa3.ogv ENDED (0 audio frames, >0 video frames)
# -VLCDUMMY END
./vlcdummy.test: line 41: kill: %1: no such job
not ok # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
FAIL: vlcdummy.test 15 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./vlcdummy magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png --print-item --play-item --print-subitems --play-subitems
# --- data/sweden.png.torrent-magnet.data-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:03.000000000 -0500
# @@ -1,9 +0,0 @@
# -VLCDUMMY ITEM magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
# -VLCDUMMY STATE magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png OPENING
# -VLCDUMMY STATE magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png PLAYING
# -VLCDUMMY SUBITEM sweden.png
# -VLCDUMMY STATE magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png ENDED (0 audio frames, 0 video frames)
# -VLCDUMMY STATE sweden.png OPENING
# -VLCDUMMY STATE sweden.png PLAYING
# -VLCDUMMY STATE sweden.png ENDED (0 audio frames, >0 video frames)
# -VLCDUMMY END
./vlcdummy.test: line 41: kill: %1: no such job
not ok # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
FAIL: vlcdummy.test 16 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
ERROR: vlcdummy.test - exited with status 1

FAIL: downloaddummy
===================

1..16
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy file://./data/flags.torrent --show-metadata
# --- data/flags.torrent.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:04.000000000 -0500
# @@ -1,6 +0,0 @@
# -DOWNLOADDUMMY NAME flags
# -DOWNLOADDUMMY INFOHASH 18945a9300abfe4ff2442559bb08b8ddb357c16f
# -DOWNLOADDUMMY FILE flags/denmark.png 476
# -DOWNLOADDUMMY FILE flags/norway.png 744
# -DOWNLOADDUMMY FILE flags/sweden.png 636
# -DOWNLOADDUMMY END
./downloaddummy.test: line 25: 60364 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
not ok # file://./data/flags.torrent
FAIL: downloaddummy.test 1 # file://./data/flags.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy file://./data/nasa1.ogv.torrent --show-metadata
# --- data/nasa1.ogv.torrent.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:05.000000000 -0500
# @@ -1,4 +0,0 @@
# -DOWNLOADDUMMY NAME nasa1.ogv
# -DOWNLOADDUMMY INFOHASH 8a32f3f6f3c9125da79e29c869122758004ee837
# -DOWNLOADDUMMY FILE nasa1.ogv 58703
# -DOWNLOADDUMMY END
./downloaddummy.test: line 25: 60375 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
not ok # file://./data/nasa1.ogv.torrent
FAIL: downloaddummy.test 2 # file://./data/nasa1.ogv.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy file://./data/nasa.torrent --show-metadata
# --- data/nasa.torrent.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:06.000000000 -0500
# @@ -1,5 +0,0 @@
# -DOWNLOADDUMMY NAME nasa
# -DOWNLOADDUMMY INFOHASH 6fa46c9a0bb4eecb837c25845d39c5324be66401
# -DOWNLOADDUMMY FILE nasa/nasa2.ogv 104050
# -DOWNLOADDUMMY FILE nasa/nasa3.ogv 88445
# -DOWNLOADDUMMY END
./downloaddummy.test: line 25: 60384 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
not ok # file://./data/nasa.torrent
FAIL: downloaddummy.test 3 # file://./data/nasa.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy file://./data/sweden.png.torrent --show-metadata
# --- data/sweden.png.torrent.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:08.000000000 -0500
# @@ -1,4 +0,0 @@
# -DOWNLOADDUMMY NAME sweden.png
# -DOWNLOADDUMMY INFOHASH fce002e43ed1159f4612982ce8fcdb9d30e48f1e
# -DOWNLOADDUMMY FILE sweden.png 636
# -DOWNLOADDUMMY END
./downloaddummy.test: line 25: 60393 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
not ok # file://./data/sweden.png.torrent
FAIL: downloaddummy.test 4 # file://./data/sweden.png.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags --show-metadata
# --- data/flags.torrent-magnet.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:09.000000000 -0500
# @@ -1,6 +0,0 @@
# -DOWNLOADDUMMY NAME flags
# -DOWNLOADDUMMY INFOHASH 18945a9300abfe4ff2442559bb08b8ddb357c16f
# -DOWNLOADDUMMY FILE flags/denmark.png 476
# -DOWNLOADDUMMY FILE flags/norway.png 744
# -DOWNLOADDUMMY FILE flags/sweden.png 636
# -DOWNLOADDUMMY END
./downloaddummy.test: line 25: 60402 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
not ok # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
FAIL: downloaddummy.test 5 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv --show-metadata
# --- data/nasa1.ogv.torrent-magnet.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:10.000000000 -0500
# @@ -1,4 +0,0 @@
# -DOWNLOADDUMMY NAME nasa1.ogv
# -DOWNLOADDUMMY INFOHASH 8a32f3f6f3c9125da79e29c869122758004ee837
# -DOWNLOADDUMMY FILE nasa1.ogv 58703
# -DOWNLOADDUMMY END
./downloaddummy.test: line 25: 60411 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
not ok # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
FAIL: downloaddummy.test 6 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa --show-metadata
# --- data/nasa.torrent-magnet.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:11.000000000 -0500
# @@ -1,5 +0,0 @@
# -DOWNLOADDUMMY NAME nasa
# -DOWNLOADDUMMY INFOHASH 6fa46c9a0bb4eecb837c25845d39c5324be66401
# -DOWNLOADDUMMY FILE nasa/nasa2.ogv 104050
# -DOWNLOADDUMMY FILE nasa/nasa3.ogv 88445
# -DOWNLOADDUMMY END
./downloaddummy.test: line 25: 60420 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
not ok # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
FAIL: downloaddummy.test 7 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png --show-metadata
# --- data/sweden.png.torrent-magnet.downloaddummy-metadata-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:12.000000000 -0500
# @@ -1,4 +0,0 @@
# -DOWNLOADDUMMY NAME sweden.png
# -DOWNLOADDUMMY INFOHASH fce002e43ed1159f4612982ce8fcdb9d30e48f1e
# -DOWNLOADDUMMY FILE sweden.png 636
# -DOWNLOADDUMMY END
./downloaddummy.test: line 25: 60429 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
not ok # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
FAIL: downloaddummy.test 8 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy file://./data/flags.torrent --show-read
# --- data/flags.torrent.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:13.000000000 -0500
# @@ -1,4 +0,0 @@
# -DOWNLOADDUMMY READ 476 0
# -DOWNLOADDUMMY READ 744 1
# -DOWNLOADDUMMY READ 636 2
# -DOWNLOADDUMMY END
./downloaddummy.test: line 25: 60438 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
not ok # file://./data/flags.torrent
FAIL: downloaddummy.test 9 # file://./data/flags.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy file://./data/nasa1.ogv.torrent --show-read
# --- data/nasa1.ogv.torrent.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:14.000000000 -0500
# @@ -1,2 +0,0 @@
# -DOWNLOADDUMMY READ 58703 0
# -DOWNLOADDUMMY END
./downloaddummy.test: line 25: 60447 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
not ok # file://./data/nasa1.ogv.torrent
FAIL: downloaddummy.test 10 # file://./data/nasa1.ogv.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy file://./data/nasa.torrent --show-read
# --- data/nasa.torrent.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:15.000000000 -0500
# @@ -1,3 +0,0 @@
# -DOWNLOADDUMMY READ 104050 0
# -DOWNLOADDUMMY READ 88445 1
# -DOWNLOADDUMMY END
./downloaddummy.test: line 25: 60456 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
not ok # file://./data/nasa.torrent
FAIL: downloaddummy.test 11 # file://./data/nasa.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy file://./data/sweden.png.torrent --show-read
# --- data/sweden.png.torrent.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:16.000000000 -0500
# @@ -1,2 +0,0 @@
# -DOWNLOADDUMMY READ 636 0
# -DOWNLOADDUMMY END
./downloaddummy.test: line 25: 60465 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
not ok # file://./data/sweden.png.torrent
FAIL: downloaddummy.test 12 # file://./data/sweden.png.torrent
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags --show-read
# --- data/flags.torrent-magnet.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:17.000000000 -0500
# @@ -1,4 +0,0 @@
# -DOWNLOADDUMMY READ 476 0
# -DOWNLOADDUMMY READ 744 1
# -DOWNLOADDUMMY READ 636 2
# -DOWNLOADDUMMY END
./downloaddummy.test: line 25: 60474 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
not ok # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
FAIL: downloaddummy.test 13 # magnet:?xt=urn:btih:18945a9300abfe4ff2442559bb08b8ddb357c16f&dn=flags
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv --show-read
# --- data/nasa1.ogv.torrent-magnet.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:18.000000000 -0500
# @@ -1,2 +0,0 @@
# -DOWNLOADDUMMY READ 58703 0
# -DOWNLOADDUMMY END
./downloaddummy.test: line 25: 60483 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
not ok # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
FAIL: downloaddummy.test 14 # magnet:?xt=urn:btih:8a32f3f6f3c9125da79e29c869122758004ee837&dn=nasa1.ogv
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa --show-read
# --- data/nasa.torrent-magnet.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:19.000000000 -0500
# @@ -1,3 +0,0 @@
# -DOWNLOADDUMMY READ 104050 0
# -DOWNLOADDUMMY READ 88445 1
# -DOWNLOADDUMMY END
./downloaddummy.test: line 25: 60492 Killed: 9               ../miniclient *.torrent > /dev/null  (wd: ~/Documents/vlc-bittorrent/test/data)
not ok # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
FAIL: downloaddummy.test 15 # magnet:?xt=urn:btih:6fa46c9a0bb4eecb837c25845d39c5324be66401&dn=nasa
~/Documents/vlc-bittorrent/test/data ~/Documents/vlc-bittorrent/test
~/Documents/vlc-bittorrent/test
./downloaddummy magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png --show-read
# --- data/sweden.png.torrent-magnet.downloaddummy-read-expected.txt	2019-02-02 00:19:45.000000000 -0500
# +++ -	2019-02-02 00:57:20.000000000 -0500
# @@ -1,2 +0,0 @@
# -DOWNLOADDUMMY READ 636 0
# -DOWNLOADDUMMY END
not ok # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png
FAIL: downloaddummy.test 16 # magnet:?xt=urn:btih:fce002e43ed1159f4612982ce8fcdb9d30e48f1e&dn=sweden.png

Thoughts?

@johang
Copy link
Owner

johang commented Feb 2, 2019

Which compiler and which version of that compiler do you have?

@kubark42
Copy link
Contributor Author

kubark42 commented Feb 4, 2019

Which compiler and which version of that compiler do you have?

user$ g++ --version

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

@johang
Copy link
Owner

johang commented Feb 4, 2019

Any local patches? I see -std=c++11 in the command lines.

@kubark42
Copy link
Contributor Author

kubark42 commented Feb 4, 2019

This is using the code modifications proposed at #31.

@johang
Copy link
Owner

johang commented Feb 4, 2019

Remove the -std=c++11 patch, then rebuild and rerun everything.

@kubark42
Copy link
Contributor Author

kubark42 commented Feb 4, 2019

The build fails without the patch, because the codebase uses some relatively recent C++ extensions, but it seems that on macOS the default compiler standard predates C++0x.

Would you suggest I try either of C++14 or C++17?

I tried C++14 and all tests still fail. I tried C++17, and the plugin failed to build (Problem with third-party libtorrent-rasterbar: error: no template named 'auto_ptr' in namespace 'std').

@petterreinholdtsen
Copy link
Contributor

Do you see anything if you run one of the tests in gdb, or using valgrind? If I read the logs correctly, the test process got stuck and was killed by the test suite. If so, can you figure out where it is hanging?

@kubark42
Copy link
Contributor Author

Valgrind isn't supported yet on Mojave: https://bugs.kde.org/show_bug.cgi?id=399584.

I'm familiar with gdb in an embedded environment, but not with full featured apps on an OS. The upshot is that I'm skeptical I'd know how to get the straightforward answers we're looking for. If you have an idea of the command I would want to run to get useful information out of it, I'm happy to do it.

@kubark42 kubark42 mentioned this issue May 27, 2020
@cbrunnkvist
Copy link

I couldn't make this build either. See comment #50 (comment) for an alternative (albeit very different-) solution to getting Torrent-to-VLC direct streaming working in macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants