Modify testscheduler to be Perl 5.18+ compatible
Modify testscheduler to be Perl 5.18+ compatible

Change-Id: Ib983ce36e9e9bb05948bc11ee2948ebf9953f549
Reviewed-by: Jani Vähäkangas <be9f12bbb519b13b2a9a8a94daa293a9f63e6d2d@theqtcompany.com>
Reviewed-by: Heikki Halmet <004836af5f2b97364a102058e0d0b0320d218565@theqtcompany.com>

tsarajar/qtqa,tsarajar/qtqa,tsarajar/qtqa,tsarajar/qtqa