wbooze has quit [Remote host closed the connection]
wbooze has joined #commonlisp
alfiee has joined #commonlisp
markb1 has quit [Ping timeout: 252 seconds]
alfiee has quit [Ping timeout: 252 seconds]
wbooze has quit [Quit: Leaving]
apac has joined #commonlisp
wbooze has joined #commonlisp
markb1 has joined #commonlisp
brokkoli_origin has joined #commonlisp
RavenJoad has joined #commonlisp
<RavenJoad>
I'm just making sure I don't go down a long debugging path on accident. Can an asdf:defsystem for testing (defsystem mainpkg/test ...) have multiple packages beneath it? I want to namespace parameters/variables used by different unit tests.
jonatack has quit [Ping timeout: 272 seconds]
NotThatRPG has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pve>
RavenJoad: Yes, asdf doesn't really care about packages, only systems.
NotThatRPG has joined #commonlisp
markb1 has quit [Ping timeout: 248 seconds]
Fade has quit [Changing host]
Fade has joined #commonlisp
theBlackDragon has quit [Remote host closed the connection]
<RavenJoad>
That's what I figured. When I moved some unit tests (with lisp-unit2) to a another package in my test/ directory (which is also the test system), my unit tests did not show up.
ebrasca has quit [Read error: Connection reset by peer]
uhuh has quit [Remote host closed the connection]
alfiee has joined #commonlisp
markb1 has joined #commonlisp
<pve>
RavenJoad: how do you run your tests?
<veqq>
I recently read asdf was rewritten in go and was baffled
alfiee has quit [Ping timeout: 252 seconds]
mishoo has quit [Ping timeout: 252 seconds]
<RavenJoad>
pve: I have overridden asdf:perform and specialized it with an (eql (find-system mainpkg/test)), then use (asdf:test-system :mainpkg). mainpkg has an :in-order-to ((test-op "mainpkg/test")) entry.
<pve>
RavenJoad: is your test suite named by a symbol?
jonatack has joined #commonlisp
ldb has joined #commonlisp
pkal has joined #commonlisp
attila_lendvai_ has joined #commonlisp
attila_lendvai has quit [Read error: Connection reset by peer]
markb1 has quit [Ping timeout: 268 seconds]
geminium has quit [Ping timeout: 252 seconds]
cage has quit [Quit: rcirc on GNU Emacs 29.4]
theBlackDragon has joined #commonlisp
markb1 has joined #commonlisp
stirl has quit [Ping timeout: 252 seconds]
<RavenJoad>
Yes. (defsystem :mainpkg/tests ...) is what I have.
stirl has joined #commonlisp
mwnaylor has joined #commonlisp
shawnw has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
alfiee has joined #commonlisp
<pve>
RavenJoad: That's the system. I meant the test suite, assuming lisp-unit2 has that concept. Like what does the body of your asdf:perform method look like. Feel free to use the pastebin to show your code.
<ixelp>
GitHub - Chil-HW/chil at backends/verilog-gen-body
markb1 has quit [Ping timeout: 252 seconds]
markb1 has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
<pve>
RavenJoad: Your tests are in the package chil/tests/verilog, but you pass chil/tests to lisp-unit2:run-tests. Is that right?
<RavenJoad>
Oh. In the ASDF perform, I do specialize on the chil/tests system, inside of which I use (find-package :chil/tests). I guess there is no way to compose tests?
<pve>
RavenJoad: I think run-tests will accept a list of packages
<RavenJoad>
I'll have to try that. It makes sense that packages cannot not nest nicely, since they behave like namespaces.
zwr has quit [Read error: Connection reset by peer]
kevingal has joined #commonlisp
shawnw has quit [Ping timeout: 260 seconds]
markb1 has joined #commonlisp
Guest48 has quit [Quit: WeeChat 4.5.2]
josrr has quit [Ping timeout: 276 seconds]
alfiee has joined #commonlisp
zwr has joined #commonlisp
Alfr is now known as everyone
everyone is now known as alfr
<pve>
RavenJoad: I think there are many ways you could handle this. For instance, you could define a list chil/tests:*test-packages* in base.lisp, and whenever a new test package is defined, you pushnew ("register") the name of the package onto the list. Or you could try the "tags" feature offered by lisp-unit2. Or even do something like (define-test chil/tests::generate-verilog-empty-module ...).
alfiee has quit [Ping timeout: 252 seconds]
markb1 has quit [Ping timeout: 260 seconds]
mange has quit [Remote host closed the connection]
<RavenJoad>
Yeah, lisp-unit2's tags feature is really what I want. I want to be able to test just subportions of the project at a time if I want. lisp-unit2 handles that. defpackage should handle namespacing symbols for me.
wacki has quit [Read error: Connection reset by peer]
wacki has joined #commonlisp
markb1 has joined #commonlisp
wacki has quit [Quit: Leaving.]
RavenJoad has quit [Ping timeout: 248 seconds]
k_hachig has quit [Ping timeout: 268 seconds]
tuck has joined #commonlisp
jonatack has joined #commonlisp
nil78 has quit [Read error: Connection reset by peer]
varjag has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.2)]
alfiee has joined #commonlisp
alfr is now known as Alfr
nil78 has joined #commonlisp
alfiee has quit [Ping timeout: 260 seconds]
markb1 has quit [Ping timeout: 244 seconds]
bgcicca has joined #commonlisp
eddof13 has joined #commonlisp
eddof13 has quit [Client Quit]
NotThatRPG has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
markb1 has joined #commonlisp
nil78 has quit [Read error: Connection reset by peer]
nil78 has joined #commonlisp
pve has quit [Quit: leaving]
gnoo has quit [Ping timeout: 260 seconds]
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 244 seconds]
chomwitt1 has quit [Ping timeout: 276 seconds]
contrapunctus has left #commonlisp [#commonlisp]
attila_lendvai_ has quit [Ping timeout: 265 seconds]
josrr has joined #commonlisp
kevingal has quit [Ping timeout: 246 seconds]
kevingal has joined #commonlisp
nil78 has quit [Read error: Connection reset by peer]