summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-06-07 08:13:20 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-06-15 07:14:36 +0200
commitdf7f0ac6c00de15ea6fa383c5dd09894fc90a722 (patch)
tree0600b6714fe9703178fa1639c38a4f90eadddcdb
parenttools: Remove cvsignore-add.sh (diff)
downloadrtems-df7f0ac6c00de15ea6fa383c5dd09894fc90a722.tar.bz2
tools: Remove rtems-testsuite-autostuff
It is not used. Close #3447.
-rwxr-xr-xtools/build/rtems-testsuite-autostuff49
1 files changed, 0 insertions, 49 deletions
diff --git a/tools/build/rtems-testsuite-autostuff b/tools/build/rtems-testsuite-autostuff
deleted file mode 100755
index 8f298bac3c..0000000000
--- a/tools/build/rtems-testsuite-autostuff
+++ /dev/null
@@ -1,49 +0,0 @@
-#! /usr/bin/env python
-
-#
-# Copyright 2017 Chris Johns <chrisj@rtems.org>
-# All rights reserved
-#
-
-#
-# Create the testsuite's configure.am and Makefile.am from the directories
-# found. This does not handle any conditional functionality that may be needed.
-#
-
-from __future__ import print_function
-import os
-import os.path
-import sys
-
-def eprint(*args, **kwargs):
- print(*args, file = sys.stderr, **kwargs)
-
-def die(*args, **kwargs):
- print(*args, file = sys.stderr, **kwargs)
- sys.exit(1)
-
-if len(sys.argv) != 2:
- die('error: just provide the path to the test directory')
-
-testdir = sys.argv[1]
-
-if not os.path.exists(testdir):
- die('error: not found: %s' % (testdir))
-if not os.path.isdir(testdir):
- die('error: not a directory: %s' % (testdir))
-
-excludes = ['autom4te.cache']
-
-tests = sorted([t for t in os.listdir(testdir)
- if os.path.isdir(os.path.join(testdir, t)) \
- and t not in excludes \
- and os.path.exists(os.path.join(testdir, t, 'Makefile.am'))])
-
-configure = ['AC_CONFIG_FILES([Makefile'] + ['%s/Makefile' % (t) for t in tests] + ['])']
-makefile = ['_SUBDIRS ='] + ['_SUBDIRS += %s' % (t) for t in tests]
-
-print(os.linesep.join(configure))
-print()
-print(os.linesep.join(makefile))
-
-sys.exit(0)