1. 30 1月, 2008 1 次提交
    • J
      Add framework for code style- and syntax-checking rules. · cc337da2
      Jim Meyering 提交于
      	Almost all tests are initially disabled via the list in Makefile.cfg.
      	* Makefile.am (EXTRA_DIST): Add .x-sc_avoid_if_before_free.
      	Omit names of files that automake includes automatically.
      	* .x-sc_avoid_if_before_free: New file.
      	* build-aux/vc-list-files: Likewise.
      	* build-aux/find-unnecessary-if-before-free: Likewise.
      	* GNUmakefile, Makefile.cfg, Makefile.maint: New files.
      cc337da2
  2. 12 12月, 2007 1 次提交
    • J
      Always build in python/ subdir. · 0d0b0113
      Jim Meyering 提交于
      * configure.in (PYTHON_SUBDIR): Don't set.  Remove all uses.
      * Makefile.am (SUBDIRS): Hard-code "python" here.
      (tests): Test equivalent "$(pythondir)", not @PYTHON_SUBDIR@.
      0d0b0113
  3. 11 12月, 2007 1 次提交
    • J
      Add gnulib-tool unit tests. · ac6bb7e1
      Jim Meyering 提交于
      * bootstrap: Re-add --with-tests, now that gnulib-tool
      arranges to use separate libraries for lib/ and tests/.
      * configure.in (AC_OUTPUT): Add gnulib/tests/Makefile.in.
      * Makefile.am (SUBDIRS): Add gnulib/tests.
      * gnulib/tests/Makefile.am: New file.
      * gnulib/lib/.cvsignore: Sort.
      * gnulib/lib/Makefile.am, gnulib/m4/getdelim.m4, gnulib/m4/getline.m4:
      * gnulib/m4/gnulib-cache.m4, gnulib/m4/gnulib-comp.m4: Regenerate.
      * gnulib/tests/test-alloca-opt.c: New file, from gnulib.
      * gnulib/tests/test-arpa_inet.c: Likewise.
      * gnulib/tests/test-fseeko.c: Likewise.
      * gnulib/tests/test-fseeko.sh: Likewise.
      * gnulib/tests/test-getaddrinfo.c: Likewise.
      * gnulib/tests/test-getdelim.c: Likewise.
      * gnulib/tests/test-getline.c: Likewise.
      * gnulib/tests/test-lseek.c: Likewise.
      * gnulib/tests/test-lseek.sh: Likewise.
      * gnulib/tests/test-netinet_in.c: Likewise.
      * gnulib/tests/test-snprintf.c: Likewise.
      * gnulib/tests/test-stdbool.c: Likewise.
      * gnulib/tests/test-stdint.c: Likewise.
      * gnulib/tests/test-stdio.c: Likewise.
      * gnulib/tests/test-stdlib.c: Likewise.
      * gnulib/tests/test-string.c: Likewise.
      * gnulib/tests/test-sys_select.c: Likewise.
      * gnulib/tests/test-sys_socket.c: Likewise.
      * gnulib/tests/test-sys_stat.c: Likewise.
      * gnulib/tests/test-sys_time.c: Likewise.
      * gnulib/tests/test-unistd.c: Likewise.
      * gnulib/tests/test-vasnprintf.c: Likewise.
      * gnulib/tests/test-vasprintf.c: Likewise.
      * gnulib/tests/test-wchar.c: Likewise.
      * gnulib/tests/dummy.c: Likewise.
      * gnulib/tests/intprops.h: Likewise.
      * gnulib/tests/verify.h: Likewise.
      ac6bb7e1
  4. 07 12月, 2007 1 次提交
  5. 06 12月, 2007 2 次提交
    • J
      Use gnulib, starting with its physmem and getaddrinfo modules. · 261e7581
      Jim Meyering 提交于
      New files go into these directories:
        gnulib/lib
        gnulib/m4
        gnulib/tests
      
      * bootstrap: A wrapper around gnulib-tool.
      * configure.in: Invoke gl_EARLY and gl_INIT, being careful to put gl_EARLY
      before any macro that uses AC_COMPILE_IFELSE.
      (AC_OUTPUT): Add lib/Makefile and gl-tests/Makefile.  Remove m4/Makefile.
      * Makefile.am (SUBDIRS): Add gnulib/lib and remove m4.  Add gnulib/tests
      early enough that those tests run before any libvirt unit tests.
      * m4/Makefile.am: Remove file.  Not needed.
      * src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib -I../gnulib/lib.
      (LDADDS, libvirt_la_LIBADD): Add ../gnulib/lib/libgnu.la.
      * src/nodeinfo.c: Include "physmem.h".
      * qemud/qemud.c, src/remote_internal.c: Include "getaddrinfo.h".
      (MEMINFO_PATH, linuxNodeInfoMemPopulate): Remove definitions.
      (virNodeInfoPopulate): Use physmem_total, not linuxNodeInfoMemPopulate.
      * tests/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib -I../gnulib/lib.
      (LDADDS): Add ../gnulib/lib/libgnu.la.
      * qemud/Makefile.am (libvirtd_LDADD): Add ../gnulib/lib/libgnu.la.
      * tests/nodeinfotest.c (linuxTestCompareFiles): No longer read total
      memory from a file.
      Update expected output not to include "Memory: NNNN"
      * tests/nodeinfodata/linux-nodeinfo-1.txt:
      * tests/nodeinfodata/linux-nodeinfo-2.txt:
      * tests/nodeinfodata/linux-nodeinfo-3.txt:
      * tests/nodeinfodata/linux-nodeinfo-4.txt:
      * tests/nodeinfodata/linux-nodeinfo-5.txt:
      * tests/nodeinfodata/linux-nodeinfo-6.txt:
      * src/test.c [WITH_TEST]: Remove definition of _GNU_SOURCE that
      would conflict with the one now in "config.h".
      * autogen.sh: Add -I gnulib/m4.
      * src/conf.c, src/sexpr.c: Don't define _GNU_SOURCE.
      Instead, include "config.h".
      * qemud/qemud.c: Remove definition of _GNU_SOURCE.
      * src/openvz_driver.c: Likewise.
      * src/qemu_driver.c: Likewise.
      * src/remote_internal.c: Likewise.
      
      * configure.in: Use AC_CONFIG_AUX_DIR(build-aux), so that a bunch
      of gettextize-generated files go into build-aux/, rather than in
      the top-level directory.
      * .cvsignore: Adjust.
      * build-aux/.cvsignore: New file.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      261e7581
    • D
  6. 15 11月, 2007 1 次提交
    • J
      Make "make distcheck" work. · d5117af3
      Jim Meyering 提交于
      * Makefile.am: Expand some "*" wildcards, and (for now) disable
        the relatively unimportant, distuninstallcheck target.
        Fix a few redirect-directly-to-target bugs.
        Add a few $(srcdir)/ prefixes and add an uninstall-local rule.
      * docs/Makefile.am: More of the same.  Split some long lines.
      * python/Makefile.am: Likewise.
      * python/tests/Makefile.am: Likewise.
      * qemud/Makefile.am: Likewise.
      * tests/Makefile.am: Remove the directories already listed in SUBDIRS.
      * docs/examples/index.py: Adapt to produce the desired changes in
        docs/examples/Makefile.am. Also, sort *.c, so results are reproducible,
        and emit a comment telling emacs and vi that the file is read-only.
      * docs/examples/Makefile.am: Regenerate.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      d5117af3
  7. 14 2月, 2007 3 次提交
  8. 08 2月, 2007 1 次提交
  9. 21 9月, 2006 1 次提交
  10. 29 6月, 2006 1 次提交
  11. 09 5月, 2006 1 次提交
  12. 10 4月, 2006 1 次提交
  13. 21 2月, 2006 1 次提交
  14. 14 2月, 2006 1 次提交
  15. 10 2月, 2006 1 次提交
  16. 20 12月, 2005 1 次提交
  17. 05 12月, 2005 1 次提交
  18. 02 12月, 2005 1 次提交
  19. 02 11月, 2005 2 次提交