01:27:40 Unstable branch on crawl.develz.org updated to: 0.23-a0-650-ga4d50d4 (34) 01:58:41 Windows builds of master branch on crawl.develz.org updated to: 0.23-a0-650-ga4d50d4 02:58:25 Monster database of master branch on crawl.develz.org updated to: 0.23-a0-650-ga4d50d4 03:50:39 Experimental (bcrawl) branch on crawl.kelbi.org updated to: 0.23-a0-1311-g0c9c8a3235 05:00:07 -!- amalloy is now known as amalloy_ 11:07:28 i'm on vacation from now until sunday 12:05:17 Unstable branch on crawl.akrasiac.org updated to: 0.23-a0-650-ga4d50d4 (34) 12:32:24 -!- amalloy_ is now known as amalloy 16:24:17 How do i execute the tests written in lua under crawl-ref/source/test ? 16:27:21 Compile with -DDEBUG_TEST and run with -test 16:28:04 the executable will then pickup the lua files from the test folder? 16:28:25 Suggest you try it first and ask any further questions after trying it. 16:30:03 I don't really care for actually running the tests, I am in progress of porting the build system to cmake 16:32:19 Naively I don't expect they'd need anything to change there 16:37:11 Are you usually runngin the tests manually as in: crawl -test foo.lua or through the make targets test-XXX ? 16:37:51 I have used them exactly once and did it with crawl -test; I didn't even know there were make targets 16:40:22 :P 16:41:15 There seems to be a fake pty to execute the tests in a CI environment. I was not 100% sure what they where all testing. But you did help me a lot with you remark. :) 16:41:51 test: test-test test-all 16:41:53 nonwiztest: test-test test-nonwiz 16:41:55 nondebugtest: test-all 16:43:01 Ozaq: check out the following 16:43:15 Ozaq: https://github.com/crawl/crawl/blob/master/.travis/build.pl 16:43:19 this is the travis build script 16:44:39 we do just make test for travis 16:45:47 yeah see in in the build.pl 16:46:04 since i have you available: I was running into an issue with webtiles 16:46:43 I can start a server but as soon as i open up a new game its hanging in loading, no errors in the server log and according to GDB crawl is waiting for input 16:48:15 is it a webtiles build? 16:48:22 any idea what could cause this? I might have some issue with my data around the server / crawl. I build a staging dir with all data from the souce tree for out of source builds. I think I might have forgotten something. 16:48:29 Yes its a webtiles build 16:49:11 not sure how you're starting the server or how it's logging; no errors to stderr, or if it's writing to log, as you say you're seeing nothing in particular in this logfile? 16:49:51 did start the server.py directly not deamonized, logging to console 16:50:14 i can see several info messages about static content being sent out. looks all fine 16:51:07 so everything works fine with the lobby, just after you've registered and click the link to start playing, it hangs 16:51:32 exactly 16:51:53 well it's unusual for the binary to just hang like that 16:52:03 this is a linux system, I assume? 16:52:10 yes 16:52:37 Not to be Capt Obvious but it's not just it churning through all the des files the first time? 16:52:45 i suspect some issue on the server side, crawl waits in epoll listening on a unix socket iirc 16:53:09 eh what? :D 16:53:20 well, Ozaq did say gdb shows that it's in the input loop 16:53:48 maybe you could investigate a bit more with gdb as to what's happening in the webtiles codepaths with a proper breakpoint set somewhere in there 16:54:34 but yeah, not sure off the top of my head what it'd be doing; usually crawl just exits because it's some error preventing proper execution 16:56:05 gimme a few minutes, I was working on the tests. I need to setup webtiles again first. EU <-> US time diff sucks :P 17:10:13 ok 17:10:34 so the crawl executable is waiting in await input and the webclient is showing the loading screen 17:22:33 ahhh :) some generated .js was not where the server was expecting it 17:22:40 now webtiles work as well 17:23:01 hmm except does not work... 17:23:28 gammafunk: is tab implemented as some sort of lua script? 17:23:58 tab is implemented in lua that's loaded by crawl itself, yes 17:24:37 hmm, looks like i messed up that path as well. do you know in which .lua file by heart? 17:24:41 dat/clua 17:24:46 thx 17:24:53 you want all those to be accessible 17:26:04 hmm should be 17:26:13 dat is on teh same level as the crawl executable and clua has all files 17:26:21 e.g. autofight.lua 17:27:29 yeah, anything in dat generally needs to be accessible by the crawl binary 17:29:54 looks like i forgot to define CLUA_BINDINGS in my build 17:31:32 ahhh much better :D 17:32:08 so i THINK now only the tests are missing for linux/macos in cmake 17:44:33 how do i configure the server to NOT display every singel step during autoexplore (like the local tiles client)? 17:46:29 travel_delay = 0 ? 17:52:29 oh thats an rc file setting? 17:57:27 It is. Mind you, it's meant to default to 0 online so something weird is going on. 17:58:15 <|amethyst> the default is based on USING_DGL, which we use in several places as a proxy for "is this a public server?" 17:59:23 <|amethyst> err, -DDGAMELAUNCH rather 18:00:26 i just figured that out :P 18:01:24 if DGAMELAUNCH is defined travel_delay and ther delays are set to -1 18:02:01 and cannot be overwritten by the rc file if i understood the code corectly 18:02:11 <|amethyst> yeah, 0 means to show every step of the movement without any delay, -1 means to not show any 18:02:17 <|amethyst> it can be overridden 18:05:33 has defining DGAMELAUNCH other side effects? 18:08:02 <|amethyst> yes, mostly related to directories, but also disabling some options (for example restart_after_save), not allowing the player to pick a name, forcing UTC timezone, and several more 18:08:21 k 18:08:47 is there any config where i makes sense to NOT define DGMALAUNCH when one wants to run a web-tile server? 18:08:49 <|amethyst> oh, and creating a milestones file 18:09:19 <|amethyst> if you're setting it up just for playing locally, maybe? 18:09:41 <|amethyst> e.g. you prefer the webtiles interface, but don't want to or can't play online for whatever reason 18:09:50 ok, 18:11:16 thanks for answering my questions, i really need some sleep now :) I hope to open up a PR for linux/macos cmake support over the weekend 18:22:39 Unstable branch on underhound.eu updated to: 0.23-a0-650-ga4d50d4d25 (34) 19:25:21 !clap cmake support 19:25:22 👏 c 👏 m 👏 a 👏 k 👏 e 👏 👏 s 👏 u 👏 p 👏 p 👏 o 👏 r 👏 t 👏 20:06:38 -!- amalloy is now known as amalloy_ 20:27:38 -!- amalloy_ is now known as amalloy 21:41:11 hi