0001-test-serial-Remove-test-serial.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. From 98187a5238939edc889fdaad93b00628b55d1e08 Mon Sep 17 00:00:00 2001
  2. From: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
  3. Date: Sat, 3 May 2014 19:43:20 +0200
  4. Subject: [PATCH] test-serial: Remove test-serial
  5. This folders only contains python tests scripts which would force us to
  6. enable a dependency to host-python which seems kind of silly since
  7. theses are only tests scripts.
  8. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
  9. ---
  10. Makefile.am | 2 +-
  11. configure.ac | 6 ------
  12. 2 files changed, 1 insertion(+), 7 deletions(-)
  13. diff --git a/Makefile.am b/Makefile.am
  14. index 265f0d7..e7bb1a1 100644
  15. --- a/Makefile.am
  16. +++ b/Makefile.am
  17. @@ -2,7 +2,7 @@ include $(top_srcdir)/Makefile.common
  18. ACLOCAL_AMFLAGS = -I m4
  19. -SUBDIRS = lib addrdb src tests test-serial
  20. +SUBDIRS = lib addrdb src tests
  21. include_HEADERS = include/ieee802154.h include/nl802154.h
  22. noinst_HEADERS = include/libcommon.h include/addrdb.h include/logging.h
  23. diff --git a/configure.ac b/configure.ac
  24. index 17658af..506b289 100644
  25. --- a/configure.ac
  26. +++ b/configure.ac
  27. @@ -77,11 +77,6 @@ AC_PROG_LIBTOOL
  28. AM_PROG_LEX
  29. AC_PROG_YACC
  30. AC_SUBST(LIBTOOL_DEPS)
  31. -# Currently the scripts works with python2.x only
  32. -# Check for this at first
  33. -AC_PATH_PROG(PYTHON, python2 python2.7 python2.6 python2.5 python)
  34. -AM_PATH_PYTHON(,, [:])
  35. -py_CHECK_MAJOR_VERSION([PYTHON_VERSION], [2])
  36. AM_MISSING_PROG(HELP2MAN, help2man, $missing_dir)
  37. # Checks for libraries.
  38. @@ -135,6 +130,5 @@ AC_CONFIG_FILES([
  39. addrdb/Makefile
  40. src/Makefile
  41. tests/Makefile
  42. - test-serial/Makefile
  43. ])
  44. AC_OUTPUT
  45. --
  46. 1.9.2