Commit Graph

191 Commits

Author SHA1 Message Date
Enno Rehling 4c79962729 add tolua submodule, kill all references to tolua++ 2015-07-11 17:48:35 +02:00
Enno Rehling 13e50cd403 updte submoduiles before building 2015-07-11 14:37:38 +02:00
Enno Rehling 09db2fe278 jsreport: return error if file not open. add scan-build to travis 2015-07-06 20:49:13 +02:00
Enno Rehling 7934917607 pull latest version before building develop 2015-06-28 13:38:13 +02:00
Enno Rehling b630c9ee45 oops. the name of the server is gruenbaer, not eressea 2015-06-17 08:07:47 +02:00
Enno Rehling 5257848648 do not install crontab, except on eresseaserver. fixes issue #226 2015-06-17 08:06:01 +02:00
Enno Rehling 32bd8c4353 make preview script valgrind use suppression file, closing issue #154 2015-06-17 07:50:35 +02:00
Enno Rehling ff3fdb62cd enable valgrind suppressions for QA previews 2015-06-17 07:30:06 +02:00
Enno Rehling 8080adcd2b travis build now runs a full turn for acceptance.
* new cmake module (lus/tolua changes).
* valgrind suppression for glibc strtod problems.
2015-06-09 08:39:22 +02:00
Enno Rehling 8ecf51b057 cmake will use LD_LUA and LD_TOLUA environment variables to search 2015-06-08 22:23:07 +02:00
Enno Rehling 59400b1e27 Merge branch 'release-3-5' into develop
Conflicts:
	s/runtests
	src/buildno.h
2015-05-24 14:10:42 +02:00
Enno Rehling 9780ec845f still having problems with GiveRestriction 2015-05-24 07:49:01 +02:00
Enno Rehling b7f6bea569 suppress zlib bugs on Travix boxen 2015-05-21 18:03:24 +02:00
Enno Rehling 0838218706 generate suppressions, fix valgrind exit code 2015-05-21 17:48:45 +02:00
Enno Rehling 090197866b investigating travis build environment 2015-05-21 17:44:36 +02:00
Enno Rehling ac01d33cd2 try to locate zlib valgrind problem on the travis boxen.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577135
use set -e to terminate when any part of the build fails
2015-05-21 17:29:13 +02:00
Enno Rehling f29d573c3e fix travis build writing reports with valgrind 2015-05-21 16:30:14 +02:00
Enno Rehling 5c62bf2401 include valgrind in the travis build 2015-05-21 13:21:53 +02:00
Enno Rehling 1c4778e3ef abort tests when non-zero exit-code is returned, fix GiveRestriction for pool tests 2015-05-21 11:05:24 +02:00
Enno Rehling 88f454e1f7 failed tests abort runtests and return an error code
small test world for (future) valgrind tests.
2015-05-21 08:29:22 +02:00
Enno Rehling 57263134ab travis build did not run the right test file 2015-05-18 07:36:39 +02:00
Enno Rehling c57907e340 setup new games defaulting to turn 0 2015-05-12 14:30:49 -07:00
Enno Rehling dc0897b122 fix gmtool and setup script to match the GM guide document. 2015-05-10 13:41:48 -07:00
Enno Rehling 7ae7fa24d8 don't call nproc if the system doesn't have it 2015-03-03 00:10:10 +01:00
Enno Rehling 45b77c9993 Merge branch 'repairing_lua_tests' of https://github.com/CTD1/eressea-server-bugfixing into CTD1-repairing_lua_tests
Conflicts:
	scripts/run-tests.lua
2015-02-20 20:28:36 +01:00
CTD 8f21aa7a11 repairing lua tests
Das ist totales Chaos, viele Testcases wurden einfach nicht ausgeführt
weil sie nicht in den init files stehen.
Etwas neu strukturiert, Test laufen jetzt auch wenn sie nicht aus dem
eressea root Ordner gestartet werden wie in s/runtest und es sind einige
Testcases mehr als bisher. Auch macht Travis jetzt die E3 Test. Dabei
ist ein schwerwiegender Fehler beim neuen Bewache aufgefallen!
2015-02-13 16:03:05 +01:00
Enno Rehling 742f464ee5 further fixes to the crontab system 2015-02-08 10:35:59 +01:00
Enno Rehling 741cb30e90 clean up cron jobs, add crontab, add flag to disable jobs 2015-02-07 19:39:44 +01:00
Enno Rehling fecbac86bc update version number, make preview script use the correct branch 2015-02-06 01:40:03 +01:00
Enno Rehling b06efdfa75 I cannot get this to work, hacking it 2015-02-01 08:37:04 +01:00
Enno Rehling a567fe9ed0 function is a bash-ism 2015-02-01 08:29:21 +01:00
Enno Rehling 6b1285a784 fix preview script so it can checkout and build from tags 2015-02-01 08:21:07 +01:00
Enno Rehling ba71728a64 preview build script checks for a branch to build from (in build/.preview)
fix int to bool conversions
2015-01-09 20:42:17 +01:00
Enno Rehling 9453aff7f5 fix running game-specific tests for E3, add them to the test suite. 2014-12-31 21:07:42 +01:00
Enno Rehling 0b58ca9176 try to handle more potential errors 2014-12-21 13:41:21 +01:00
Enno Rehling 3ac407407a check for lockfile before running 2014-12-14 07:01:22 +01:00
Enno Rehling 65b48a7996 check for reports.txt before trying to send reports 2014-12-14 06:57:45 +01:00
Enno Rehling 386588083c add a script to pull a branch and update submodules 2014-12-12 13:45:50 +01:00
Enno Rehling e1d5033b76 make tests more valgrind-friendly by not leaking memory 2014-12-12 11:13:25 +01:00
Enno Rehling c76ff2b9c7 create link to an eressea.ini before runnign tests 2014-12-11 10:22:14 +00:00
Enno Rehling 6438d6807e accepting Don's changes to the setup script.
back-filling test for faction.get and get_faction.
2014-11-26 18:37:07 +01:00
Enno Rehling f55ab5f752 the build number is in a new file. 2014-11-09 12:20:16 +01:00
Enno Rehling 4081480e4a upgrade to latest stoarge library with bugfixes 2014-11-04 07:43:19 +01:00
Enno Rehling 352d947770 debugging done, no need to be so verbose 2014-10-14 23:25:54 +02:00
Enno Rehling 9742ee265f fix eressea.ini for travis, again 2014-10-14 23:22:02 +02:00
Enno Rehling e1b1f9e03f fix eressea.ini for travis 2014-10-14 23:18:01 +02:00
Enno Rehling c30a9bd524 travis debugging 2014-10-14 23:10:00 +02:00
Enno Rehling 9ce996051d Merge branch 'master' of github.com:badgerman/eressea 2014-10-14 23:02:56 +02:00
Enno Rehling a18ea927e6 Travis CI integration 2014-10-14 22:19:36 +02:00
Enno Rehling 8432a6369d guess the ERESSEA environment if it is missing 2014-09-21 16:55:28 +02:00
Enno Rehling 74582aeb2f fix remaining getstrtoken uses without null-check. 2014-09-21 16:43:17 +02:00
Enno Rehling da42feae58 do not need bash 2014-09-21 09:59:48 +02:00
Enno Rehling 54cf4f4b7b Merge branch 'version-3-2'
Conflicts:
	src/laws.c
2014-09-02 09:26:59 +02:00
Enno Rehling 86c2096cfa use full path to preview script from cron. 2014-08-24 00:37:03 +02:00
Enno Rehling beacb850c6 fix MAKE TEMP, for real this time. I hate skip_token and all that stuff. 2014-08-23 00:37:33 +02:00
Enno Rehling b2dc6a3a9d fix MAKE TEMP, for real this time. I hate skip_token and all that stuff. 2014-08-23 00:35:06 +02:00
Enno Rehling e9ccc24895 make previews always build from master 2014-08-22 07:44:52 +02:00
Enno Rehling fd46b25317 Merge branch 'version-3-0'
Conflicts:
	conf/e3/config.xml
2014-08-22 07:40:43 +02:00
Enno Rehling 8d30d73bb4 fix preview script sending to testers.txt 2014-08-21 19:50:03 +02:00
Enno Rehling 408febe1e1 Merge branch 'master' of github.com:eressea/server 2014-08-18 20:33:11 +02:00
Enno Rehling f8ad9e92e7 Fix some English message translations.
clean up and improve some scripts, too.
2014-08-17 11:19:04 +02:00
Enno Rehling 56ea4ec325 this file is executable 2014-08-17 08:45:09 +02:00
Enno Rehling bb9d59bac5 read turn file before sending 2014-08-16 18:57:06 +02:00
Enno Rehling d880de0b2a fix preview send script 2014-08-16 18:23:44 +02:00
Enno Rehling 8cc4a53077 cron for eressea previews 2014-08-16 11:43:46 +02:00
Enno Rehling ff73358b9c Some tiny errors that slipped through Visual Studio's warnings. 2014-08-14 09:59:33 +02:00
Enno Rehling 91ec503b43 fix the mapper script.
1. move xml configuration reading to a separate module, it's compliated.
2. move the map file to the main scripts folder.
2014-08-12 22:54:55 +02:00
Enno Rehling 6fbb9b46ca modifying ini file from setup script 2014-08-12 22:00:26 +02:00
Enno Rehling ca64be7868 setup script to install the server 2014-08-12 17:34:02 +02:00
Enno Rehling 04be680bd5 refactoring the pre-release script.
1. tests are now done in a subdiretory od the live server.
2. usage is easier, with commands.
3. using getopts for command-line parsing is cool.
2014-08-11 13:41:37 +02:00
Enno Rehling 3c2ae7ca93 preview script and logging cleanup
1. all log messages will be terminated with \n, whether the user provided
	it or not.
2. remove a bunch of print() calls from scripts to reduce clutter
3. replace printf calls with log_* calls to reduce clutter
4. add the new release preview script
2014-08-11 12:04:12 +02:00
Enno Rehling ebe078df61 replace backslash with forward for unix-style paths 2014-08-03 12:43:16 +02:00
Enno Rehling 67cf73d42c update ini files so tests will pass again 2014-07-23 16:01:56 +02:00
Enno Rehling a4675c61fd installing resource files through cmake. 2014-07-17 15:55:50 +02:00
TomBraun c1c0689dc2 Merge remote-tracking branch 'eressea/master' 2014-07-07 10:25:22 +02:00
Enno Rehling 896681e189 print log errors after runnign tests 2014-07-06 22:03:00 +02:00
TomBraun 8803b9d91f accept fix server don't configure
changes are now in configure fille
2014-07-04 08:20:49 +02:00
TomBraun cbdf486d45 Merge remote-tracking branch 'eressea/master' 2014-07-04 08:01:05 +02:00
Enno Rehling f51e5f91ff strip down the configure script to do only configuration, not builds.
remove distcc support, because I do not have it set up anywhere I can
test it.
2014-07-03 20:44:19 -07:00
Enno Rehling 90120ee5c3 stop side-effect of cd - at the end of these scripts 2014-07-02 21:35:16 -07:00
TomBraun 2bb41b169a Server can not configure
mkdir -p $BIN_DIR is allready done in configure file
the effect is that file configure create the build directory
and in this directory file cmake-init create another, go inside
and don't find CMakeLists.txt
2014-06-30 08:23:33 +02:00
Enno Rehling ba53c90b9c Release/Debug builds support 2014-06-28 16:54:10 -07:00
Enno Rehling 2033aabf60 new test suite, moving to new directory. 2014-06-13 17:35:43 -07:00
Enno Rehling 30c1b0e1ff new lua test framework, work in progress. 2014-06-12 17:41:03 -07:00
Enno Rehling 19a21772e4 stop tests from crashing 2014-05-04 15:54:56 -07:00
Enno Rehling fa5dc43b98 reorganizing the way configuration data is read (WIP) 2014-04-20 09:36:25 -07:00
Enno Rehling ae68a1beaf add a script that runs all tests
clean up the build scripta bit
bind ship type
2014-04-12 05:25:21 +02:00
Enno Rehling 9aeb0f6b86 make build script figure out how many jobs to run 2014-04-11 19:41:17 -07:00
Enno Rehling bcc116825b latest cutest revision 2014-04-11 09:51:37 -07:00
Enno Rehling e350b8a146 rebuild lua bindings
fix json export
add a script to reset submodules
2014-03-16 02:12:49 -07:00
Enno Rehling afe355e9b9 begin creating a make install target.
add a script to set up PATHs for cmake
2014-03-02 12:20:49 -08:00