Skip to content

Commit

Permalink
ICU-22713 Delete layout/DataDrivenTest.
Browse files Browse the repository at this point in the history
  • Loading branch information
roubert committed Jan 7, 2025
1 parent b1acce6 commit a8d9f47
Show file tree
Hide file tree
Showing 21 changed files with 3 additions and 5,156 deletions.
99 changes: 0 additions & 99 deletions icu4c/source/test/letest/FontTableCache.cpp

This file was deleted.

43 changes: 0 additions & 43 deletions icu4c/source/test/letest/FontTableCache.h

This file was deleted.

15 changes: 3 additions & 12 deletions icu4c/source/test/letest/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ CLEANFILES = *~ $(DEPS)

## Target information
TESTTARGET = letest
GENTARGET = gendata

BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../
# Simplify the path for Unix
Expand All @@ -34,11 +33,10 @@ CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ct
DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"'
LIBS = $(LIBICULX) $(LIBICUUC) $(LIBICUI18N) $(LIBCTESTFW) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M) $(ICULEHB_LIBS)

COMMONOBJECTS = letsutil.o cmaps.o FontTableCache.o SimpleFontInstance.o PortableFontInstance.o
COMMONOBJECTS = SimpleFontInstance.o
TESTOBJECTS = letest.o
GENOBJECTS = gendata.o

OBJECTS = $(COMMONOBJECTS) $(TESTOBJECTS) $(GENOBJECTS)
OBJECTS = $(COMMONOBJECTS) $(TESTOBJECTS)

DEPS = $(OBJECTS:.o=.d)

Expand Down Expand Up @@ -66,7 +64,7 @@ dist-local:

clean-local:
test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
$(RMV) $(COMMONOBJECTS) $(TESTOBJECTS) $(GENOBJECTS) $(TARGET)
$(RMV) $(COMMONOBJECTS) $(TESTOBJECTS) $(TARGET)

distclean-local: clean-local
$(RMV) Makefile
Expand All @@ -86,16 +84,9 @@ $(TESTTARGET) : $(COMMONOBJECTS) $(TESTOBJECTS)
$(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
$(POST_BUILD_STEP)

$(GENTARGET) : $(COMMONOBJECTS) $(GENOBJECTS)
$(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
$(POST_BUILD_STEP)

invoke:
ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION)

gen-data: $(GENTARGET)
ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) ./$(GENTARGET) $(top_srcdir)/test/testdata/letest.xml $(srcdir)/gendata.xml

ifeq (,$(MAKECMDGOALS))
-include $(DEPS)
else
Expand Down
Loading

0 comments on commit a8d9f47

Please sign in to comment.