|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
[Xen-devel] [PATCH 08 of 10] libxl: rename testenum->testidl 
| # HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1308845949 -3600
# Node ID dea9208b98db2b1b301a17b13d21558fa0a0edc7
# Parent  956eef6b25e72a6fb76c43813c4367c29a9860cb
libxl: rename testenum->testidl
I plan to add some non-Enumeration tests.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
diff -r 956eef6b25e7 -r dea9208b98db .hgignore
--- a/.hgignore Thu Jun 23 17:19:08 2011 +0100
+++ b/.hgignore Thu Jun 23 17:19:09 2011 +0100
@@ -187,8 +187,8 @@
 ^tools/libxl/_.*\.c$
 ^tools/libxl/libxlu_cfg_y\.output$
 ^tools/libxl/xl$
-^tools/libxl/testenum$
-^tools/libxl/testenum\.c$
+^tools/libxl/testidl$
+^tools/libxl/testidl\.c$
 ^tools/libaio/src/.*\.ol$
 ^tools/libaio/src/.*\.os$
 ^tools/misc/cpuperf/cpuperf-perfcntr$
diff -r 956eef6b25e7 -r dea9208b98db tools/libxl/Makefile
--- a/tools/libxl/Makefile      Thu Jun 23 17:19:08 2011 +0100
+++ b/tools/libxl/Makefile      Thu Jun 23 17:19:09 2011 +0100
@@ -44,16 +44,16 @@ AUTOSRCS= libxlu_cfg_y.c libxlu_cfg_l.c
 LIBXLU_OBJS = libxlu_cfg_y.o libxlu_cfg_l.o libxlu_cfg.o
 $(LIBXLU_OBJS): CFLAGS += $(CFLAGS_libxenctrl) # For xentoollog.h
 
-CLIENTS = xl testenum
+CLIENTS = xl testidl
 
 XL_OBJS = xl.o xl_cmdimpl.o xl_cmdtable.o
 $(XL_OBJS): CFLAGS += $(CFLAGS_libxenctrl) # For xentoollog.h
 $(XL_OBJS): CFLAGS += $(CFLAGS_libxenlight)
 
-testenum.o: CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenlight)
-testenum.c: libxl.idl gentest.py
-       $(PYTHON) gentest.py libxl.idl testenum.c.new
-       mv testenum.c.new testenum.c
+testidl.o: CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenlight)
+testidl.c: libxl.idl gentest.py
+       $(PYTHON) gentest.py libxl.idl testidl.c.new
+       mv testidl.c.new testidl.c
 
 .PHONY: all
 all: $(CLIENTS) libxenlight.so libxenlight.a libxlutil.so libxlutil.a \
@@ -115,8 +115,8 @@ libxlutil.a: $(LIBXLU_OBJS)
 xl: $(XL_OBJS) libxlutil.so libxenlight.so
        $(CC) $(LDFLAGS) -o $@ $(XL_OBJS) libxlutil.so $(LDLIBS_libxenlight) 
$(LDLIBS_libxenctrl)
 
-testenum: testenum.o libxlutil.so libxenlight.so
-       $(CC) $(LDFLAGS) -o $@ testenum.o libxlutil.so $(LDLIBS_libxenlight) 
$(LDLIBS_libxenctrl)
+testidl: testidl.o libxlutil.so libxenlight.so
+       $(CC) $(LDFLAGS) -o $@ testidl.o libxlutil.so $(LDLIBS_libxenlight) 
$(LDLIBS_libxenctrl)
 
 .PHONY: install
 install: all
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[Xen-devel] [PATCH 00 of 10] libxl: IDL improvements and JSON	generation, Ian Campbell
[Xen-devel] [PATCH 02 of 10] libxl: IDL: s/anonynous/anonymous/, Ian Campbell
[Xen-devel] [PATCH 01 of 10] build: define "move-if-changed" make	macro, Ian Campbell
[Xen-devel] [PATCH 03 of 10] libxl: IDL: handle generation of pass-by-reference arguments, Ian Campbell
[Xen-devel] [PATCH 04 of 10] libxl: IDL: refactor code to massage a type into a function argument, Ian Campbell
[Xen-devel] [PATCH 05 of 10] libxl: IDL: remove libxl_C_type_of, Ian Campbell
[Xen-devel] [PATCH 06 of 10] libxl: IDL: add helper to generate references to Aggregate type members, Ian Campbell
[Xen-devel] [PATCH 07 of 10] libxl: IDL: bring command line handling in genwrap.py into one place, Ian Campbell
[Xen-devel] [PATCH 08 of 10] libxl: rename testenum->testidl,
Ian Campbell <=
[Xen-devel] [PATCH 10 of 10] libxl: IDL: autogenerate functions to produce JSON from libxl data structures, Ian Campbell
[Xen-devel] [PATCH 09 of 10] libxl: add LIBXL_MAC_{FMT, FMTLEN,	BYTES}, Ian Campbell
Re: [Xen-devel] [PATCH 00 of 10] libxl: IDL improvements and JSON	generation, Ian Jackson
 |  |  | 
  
    |  |  |