Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion test/functional/runTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ var args = yargs
describe: 'Name filter for streams to be tested',
default: 'all'
},
'mpd': {
describe: 'Manifest url of the stream to be tested',
default: ''
},
'debug': {
describe: 'Output log/debug messages',
type: 'boolean',
Expand Down Expand Up @@ -180,11 +184,15 @@ if (args.testSuites !== 'all') {
config.testSuites = args.testSuites;
}

// Test stream
// Test streams
if (args.streams !== 'all') {
config.streams = args.streams;
}

if (args.mpd !== '') {
config.mpd = args.mpd;
}

// Debug logs
config.debug = args.debug;

Expand Down
8 changes: 8 additions & 0 deletions test/functional/streams.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,13 @@ module.exports.getStreams = function () {
});
};

// If input manifest url is provided then use it
if (intern.config.mpd) {
streams = [{
name: 'User MPD',
url: intern.config.mpd
}];
}

return streams;
}