Alexander Barton
804c240320
autogen.sh, ngindent, platformtest.sh: Fix warnings of "shellcheck"
...
- SC2006: Use $(..) instead of legacy `..`.
- SC2015: Note that A && B || C is not if-then-else. C may run
when A is true.
- SC2086: Double quote to prevent globbing and word splitting.
- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
2016-10-21 21:41:48 +02:00
Alexander Barton
0a6e284582
platformtest.sh: Delete ngIRCd binary before test run
...
This ensures that we definitely don't test an old binary later on ...
2016-01-10 17:45:47 +01:00
Alexander Barton
2254e92e60
platformtest.sh: Only show "runs=Y" when test suite succeeded
...
Display "?" in the "runs" colum when the simple "run test" succeeded but
the test suite failed. And display a message to double check the actual
status, because it is somewhat unclear, if the daemon actually "works"
or not in this case.
2016-01-10 17:39:43 +01:00
Alexander Barton
4dcd5f1225
platformtest.sh: Use $LOGNAME instead of $USER
...
LOGNAME is more standard than USER.
2016-01-06 15:47:31 +01:00
Alexander Barton
7b7ee6a3ca
contrib/platformtest.sh: Warn when external tools are missing
2015-12-19 17:27:27 +01:00
Alexander Barton
46838510ab
contrib/platformtest.sh: Make script more portable
2015-12-19 17:27:03 +01:00
Alexander Barton
c2e4c304e3
platformtest.sh: Fix quoting
2015-08-27 00:12:50 +02:00
Alexander Barton
3de972e0bd
Test suite/platformtest.sh: Detect when tests have been skipped
...
Detect if some tests have been skipped, for example when telnet(1) or expect(1)
is missing: ./contrib/platformtest.sh will echo a warning message now.
2014-06-04 12:15:23 +02:00
Alexander Barton
2560e5f156
platformtest.sh: Allow using separate source and build trees
...
Now you can call platformtest.sh using its complete path name from an
other directory which is then used for building.
See <http://www.gnu.org/software/automake/manual/html_node/VPATH-Builds.html >
Please not that the build system itself is still (re-)genrated in the
original source tree. This can be avoided by passing the "-x" switch to
the platformtest.sh script.
2014-01-11 01:33:24 +01:00
Alexander Barton
1f5508d049
platformtest.sh: Show only up to 10 bytes of version information
2014-01-11 01:32:13 +01:00
Alexander Barton
97b4fd8a08
platformtest.sh: New option "-x", don't renegerate build system
2014-01-11 01:27:15 +01:00
Alexander Barton
e2b85ccde3
platformtest.sh: don't use "test -e", it isn't portable
2014-01-05 00:50:11 +01:00
Alexander Barton
48698f14a2
platformtest.sh/Platforms.txt: allow user names up to 8 characters
2013-10-23 20:47:55 +02:00
Alexander Barton
beb9f65dc8
platformtest.sh: Detect clang compilers
2013-10-20 15:25:19 +02:00
Alexander Barton
a2479bb906
platformtest.sh: Detect tcc compiler
2013-10-16 21:59:31 +02:00
Alexander Barton
45d3e6aa91
platformtest.sh: Clean up GIT source tree, when possible
2013-10-14 23:47:16 +02:00
Alexander Barton
0bd3fb88b2
platformtest.sh: Detect Apple LLVM (clang) compiler
2013-10-14 23:45:59 +02:00
Alexander Barton
cd48b8128e
platformtest.sh: Only generate configure script when missing
2012-11-13 23:21:09 +01:00
Alexander Barton
301d4915bc
Update platformtest.sh to follow autoconf changes
2012-11-13 22:46:06 +01:00
Alexander Barton
b2743af0ed
contrib/platformtest.sh: support "CC=xxx MAKE=yyy ./platformtest.sh"
...
Now you can use contrib/platformtest.sh on platforms that require a "special"
make (not "make") or compiler (not cc/gcc) binary.
2012-04-28 00:58:23 +02:00
Alexander Barton
1dea0d91a0
platformtest.sh: Detect Open64 C compiler
2012-04-24 12:10:35 +02:00
Alexander Barton
10c7a15687
contrib/platformtest.sh: fix gcc version detection
...
Now the version of GNU C is detected correctly on SuSE Linux, too ...
2011-04-30 01:03:17 +02:00
Alexander Barton
2bca14b52e
contrib/platformtest.sh: make command name quoting consistent
2010-11-07 15:26:26 +01:00
Alexander Barton
864f3df575
Make contrib/platformtest.sh more portable
2010-10-26 22:18:30 +02:00
Alexander Barton
05d1df97c3
Updated contrib/platformtest.sh (new version scheme)
...
- handle version numbers generated by "git describe"
- detect gcc compiler version correctly when "-std=xxx" is used
2010-10-25 18:49:54 +02:00
Alexander Barton
513a75c919
platformtest.sh: Only show latest commit
...
Only show latest GIT commuit ID as version number,
even when the last commit has been a merge.
2009-11-15 18:25:36 +01:00
Alexander Barton
21bb2bd658
New script contrib/platformtest.sh
...
This script analyzes the build process of ngIRCd and generates output
suitable for inclusion in doc/Platforms.txt.
2009-08-04 22:30:59 +02:00