File: rules

package info (click to toggle)
cld2 0.0.0-git20150806-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 120,752 kB
  • sloc: cpp: 864,716; sh: 255; ansic: 207; makefile: 17
file content (24 lines) | stat: -rwxr-xr-x 971 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1

export DEB_CPPFLAGS_MAINT_APPEND = -std=c++98

%:
	dh $@

ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
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
endif