1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
export DEB_CPPFLAGS_MAINT_APPEND = -std=c++98
%:
dh $@ --parallel
override_dh_auto_test:
cd obj-* && echo "this is some english text" | ./compact_lang_det_test_chrome_2
cd obj-* && echo "this is some english text" | ./compact_lang_det_test_chrome_16
cd obj-* && ./cld2_unittest_chrome_2 > /dev/null
cd obj-* && ./cld2_unittest_avoid_chrome_2 > /dev/null
cd obj-* && echo "this is some english text" | ./compact_lang_det_test_full
cd obj-* && ./cld2_unittest_full > /dev/null
cd obj-* && ./cld2_unittest_full_avoid > /dev/null
cd obj-* && ./cld2_dynamic_data_tool --dump cld2_data.bin
cd obj-* && ./cld2_dynamic_data_tool --verify cld2_data.bin
cd obj-* && echo "this is some english text" | ./compact_lang_det_dynamic_test_chrome --data-file cld2_data.bin
cd obj-* && ./cld2_dynamic_unittest --data-file cld2_data.bin > /dev/null
|