File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ TESTOBJS = \
7575 testipp.o \
7676 testjson.o \
7777 testjwt.o \
78+ testlang.o \
7879 testoauth.o \
7980 testoptions.o \
8081 testpwg.o \
@@ -159,6 +160,7 @@ UNITTARGETS = \
159160 testipp \
160161 testjson \
161162 testjwt \
163+ testlang \
162164 testoauth \
163165 testoptions \
164166 testpwg \
@@ -227,6 +229,9 @@ test: $(UNITTARGETS)
227229 echo Running JWT API tests...
228230 ./testjwt 2>>test.log
229231 echo ""
232+ echo Running localization API tests...
233+ ./testlang 2>>test.log
234+ echo ""
230235 echo Running option API tests...
231236 ./testoptions 2>>test.log
232237 echo ""
@@ -575,17 +580,6 @@ testlang: testlang.o $(LIBCUPS_STATIC)
575580 echo Linking $@ ...
576581 $(CC ) $(LDFLAGS ) $(OPTIM ) -o $@ testlang.o $(LIBCUPS_STATIC ) $(LIBS )
577582 $(CODE_SIGN ) $(CSFLAGS ) $@
578- echo Creating locale directory structure...
579- $(RM ) -r locale
580- for po in ../locale/cups_* .po; do \
581- lang=` basename $$ po .po | sed -e ' 1,$$s/^cups_//' ` ; \
582- $(MKDIR ) locale/$$ lang; \
583- $(LN ) ../../$$ po locale/$$ lang; \
584- done
585- echo Running language API tests...
586- echo ls -al locale
587- ls -al locale
588- LOCALEDIR=locale ./testlang
589583
590584
591585#
You can’t perform that action at this time.
0 commit comments