Just wanted to thank you guys again for the suggestions. I ended up using events, works very nicely, and as a side effect the whole testing framework is a bit more organized. :) On 22/04/2014 6:43 pm, Gonzalo wrote:
Delays won't be a problem in this case, this is a test framework, and I just want to be able to run all tests at once. But I'd like to avoid the shell script situation. Every test needs to load some stuff first, so it wouldn't be just calling the scripts one after the other. I'll try the Event route, but I'm going to have to structure a bit better my test framework. :)
Thanks guys!
Off-topic: am I replying to the list correctly? Let me know otherwise, I'm also new to mailing lists, and I don't want to mess things up.
On 22/04/2014 6:24 pm, Stefan Blixt wrote:
Sure, but Machine.add ought to take some time to access the file system and compile too. Anyway, I second the approach using Events, I made the script suggestion since it feels like an easier approach.
On Tue, Apr 22, 2014 at 10:07 AM, Szilveszter Tóth
mailto:silvestre.toth@gmail.com> wrote: Starting a new chuck process would add a random delay, I don't think that is acceptable in a musical context.
2014-04-22 7:57 GMT+02:00 Stefan Blixt
mailto:stefan.blixt@gmail.com>: You could try starting each script on its own in a shell script or - if you're on windows - a .bat script:
chuck file1.ck http://file1.ck chuck file2.ck http://file2.ck ...
On Tue, Apr 22, 2014 at 3:04 AM, Gonzalo
mailto:gonzalo@dense13.com> wrote: Hi,
I'm trying to run multiple .ck files sequentially. Specifically I have a 'master' file that loads all the 'child' files via Machine.add. But then of course they run concurrently. For now I'm just advancing time in the master file before every Machine.add statement (ugly...). Is there a way to accomplish this nicely?
Thanks! Gonzalo
PS: This is my first message to this list. I'm working on a project with Chuck that raises *a lot* of questions, so I'll probably be coming back here often. :) _________________________________________________ chuck-users mailing list chuck-users@lists.cs.__princeton.edu mailto:chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.__edu/mailman/listinfo/chuck-__users https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- Release me, insect, or I will destroy the Cosmos!
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu mailto:chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu mailto:chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-- Release me, insect, or I will destroy the Cosmos!
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users