IRC channel logs

2025-04-20.log

back to list of logs

<trannus_aran>daviid: ah, thank you! 2 more questions: what are the scripts for in a guile autotools project exactly? Looking at guile-hall, it seems like that represents the shell CLI for a given guile project (provided the script imports the project)
<trannus_aran>daviid: and 2: how exactly does a test-runner.scm (that presumably lives in build-aux/) work? I know how to run srfi-64 tests, but not sure how to integrate that with the autotools side
<daviid>trannus_aran: I can't ansers those two, (1) I don't use guile-hall (but a sxml static generator copied from, a very long time ago :), guile-gnome - that generator is not 'public', you should stick to guile-hall and ask for help either here or on the guile-user mailing list; (2) i use (unit-test), from guile-lib - but many here use srfi-64 and will help you with getting started with a test runner for your app/lib, just ask again, w/t
<daviid>quoting my name, someone will answer ... (be patient, it can take time)
<trannus_aran>Ah, sorry about that, I really appreciate it! :)
<daviid>trannus_aran: ah, sorry, I missanswered your first quiz, but I still can't answer, I don't use guile-hall
<daviid>ACTION confused the question with static site generation, which has nothing todo with your quiz :)
<trannus_aran>Yeah, I typically don't either, since I was trying to get an understanding of what *all those files* are doing in the average packaged guile project
<daviid>trannus_aran: for static (web)site generation, use haunt
<trannus_aran>Cause I know pretty well at this point how guile modules work, but *packaging* with all the autotools stuff (especially when trying to get a TDD workflow going with srfi-64+make check) is still pretty mysterious
<daviid>trannus_aran: chickadee uses srfi-64, you could just look at snarf its test runner and see how it was integrated with autotool
<daviid>look at the chickadee Makefile.am, then the test-env.in and foinally the tests subdir
<daviid>trannus_aran: here https://git.dthompson.us/chickadee/tree/
<rlb>trannus_aran: don't know if any of it would be useful, but in case, I also converted guile to use the newer automake parallel test harness. See df04f5357a0c7146d7ec1c4fcd8c11a42feb5e01, but that's ./check-guile specific...
<cow_2001>not a mention of "sld" on the guile manual
<lechner>Hi, how do &quit-exceptions work, please? (quit 1) appears as an exception in with-exception-handler. Am I supposed to filter for it in any place it might occur and re-throw it with another (quit 1) in the handler?