japaric-archived / smoke

Smoke testing Rust's cross compilation targets
Apache License 2.0
6 stars 0 forks source link

cross test *bsd #22

Open japaric opened 8 years ago

japaric commented 8 years ago

Resources

Tentative next steps

By the way, @alexcrichton, do you have build instructions for the *bsd.qcow2 images libc uses in its tests? Also, is the "run this script at boot" logic hardcoded in image itself or can that be configured from the command line?

alexcrichton commented 8 years ago

I do indeed! Instructions are here with specific sections for FreeBSD and OpenBSD.

The general idea is to:

Then to drive the tests you'd put everything you need into a disk image, spin qemu up with that image, and then scrape the output to see if the tests failed. This is all quite brittle, and isn't great b/c you basically have to pre-cache the built image (too slow or not scriptable to create), which reduces the utility over docker.