g PddlZddlZddlZddlZddlZddlZddlZdZdZ dZ dS)Ncdg}tjjr|gdz }n|gdz }tjjr|gdz }d}|D]}t j|st jt j d|rTtj d||dkr(tj d tj d d }|rtj d dSdS) Ngit)buildahpodmanrsync) autoconfautomakebrctlccachedumpcapzg++gccmake pkg-configsetcapttcn3_compilerwget)busyboxcpiogziplddtreezqemu-system-x86_64Fz /usr/sbinzMissing program: rz2 Install eclipse-titan, e.g. from osmocom:latest:zI https://osmocom.org/projects/cellular-infrastructure/wiki/Latest_BuildsT)testenvargsrkernelshutilwhichospathexistsjoinloggingerrorsysexit)programsabortprograms W/home/osmocom-build/jenkins/workspace/ttcn3-hnbgw-test/_testenv/testenv/requirements.pycheck_programsr) s< H|          <    H E  |G$$ w~~bgll;@@AA  M7g77 8 8 8*** RSSS ijjjE   c dddtjtjjtjjdg}tj|dj dkrdSgd}tj|dj d krdStj d tj d tj d tj d tj ddS)Ngrepz-q fftranscodezregen_makefile.shF)checkr)rz --modversionlibfftranscoderzMissing library: libfftranscodez https://osmocom.org/projects/cellular-infrastructure/wiki/Titan_TTCN3_Testsuites#Proprietary-APERlt-gtBER-transcoding-library-for-Iu-testsz# Consider installing it from here:z2 https://ftp.osmocom.org/binaries/libfftranscode/)rrr r testsuitettcn3_hacks_dir_srcrcmdrun returncoder!r"r#r$)r2s r(check_fftranscoder5Ds     1 L "   C{s%((3q88 : : :C{s%((3q88 M3444 M W M7888 MFGGGHQKKKKKr*cdttjjst dSdS)N)r)rrrr5r*r(r.r._s7 < r*) r!os.pathrrr#r testenv.cmdtestenv.testsuiter)r5r.r7r*r(r;s 555p6r*