Mario Domenech Goulart <mario.goul...@gmail.com> writes: > Hi John, > > On Fri, 26 Aug 2011 20:31:50 -0400 John J Foerch <jjfoe...@earthlink.net> > wrote: > >> Mario Domenech Goulart <mario.goul...@gmail.com> writes: >>> >>> On Fri, 26 Aug 2011 20:11:20 -0400 John J Foerch <jjfoe...@earthlink.net> >>> wrote: >>> >>>> I'm writing an egg and I happened to try 'chicken-install -n -test' to >>>> see if I could run my tests without installing the egg. This does not >>>> work in the version of chicken that I'm using (4.6.0 from Debian), so I >>>> would like to make this a feature request. When running chicken-install >>>> from the directory an egg resides in, it would be nice to be able to run >>>> tests without installing the egg. This would save the developer having >>>> to type a sudo password, for example. >>> >>> Just >>> >>> $ cd tests >>> $ csi -s run.scm >>> >>> That's pretty much what chicken-install does behind the scenes. >> >> What I have in mind is that chicken-install could include ".." in the >> egg search path while running the tests. This would allow the egg to be >> found, even if it were not installed. This would allow the developer >> the convenience of not having to install the egg to test it, thus not >> having to sudo, and possibly type a password. Make sense? > > I honestly don't know how complicated it would be to implement. AFAIK, > you can't have multiple values for `repository-path'. > > Here are some alternative options: > > * while you are in a development phase that you change a lot of things, > just load your egg code using (load "../egg") (and maybe (import egg) > if you define a module). However, for releasing your egg, it's > recommended that the test script use the egg as a regular application > would do (e.g., (use egg)). > > * to avoid installing your egg as root, you can set the repository to a > location where you have write permissions (see > http://wiki.call-cc.org/man/4/Extensions#changing-repository-location) > > > Best wishes. > Mario
Thanks! -- John Foerch _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users