Thanks a lot for below information on available + possible testing options! Will explore Dave Scott's branch once i get mirage-skeleton working.
Thanks! madhuri. ______ There are no automated tests. Running mirage-skeleton would let you check if it was working. Dave Scott made a branch that allowed mirage-net-xen to run on Unix (by making the Xen stuff abstract), which allowed running unit-tests easily. I think it needs a bit of work to rebase it on master, though: https://github.com/djs55/mirage-net-xen/commits/refactor-modules https://github.com/djs55/mirage -net-xen/blob/refactor-modules/lib_test/test.ml (many of the changes on this branch have already been merged) Some proper integration tests that spin up multiple Xen VMs would be great too. I know this has been discussed a few times, but I'm not sure what the status is. On Fri, Jan 29, 2016 at 7:59 AM, Thomas Leonard <[email protected]> wrote: > On 28 January 2016 at 05:58, Madhuri Yechuri <[email protected]> > wrote: > > Great, thanks for the quick response! i assume below advice still holds > > true, in that case. > > Yes. > > > ______ > > You could start by cloning the mirage-skeleton repository and making a > > new example based on "console" that uses logging rather than printing. > > > > For modifying libraries, you'll need to know how to "opam pin" a > > modified package for testing. There's some useful information here: > > > > > https://www.somerandomidiot.com/blog/2015/11/26/quick-changes-in-mirageos/ > > > > (however, I find it easier to look in the Makefile to find the > > dependencies, rather than reading the source of the mirage tool, and > > make sure you do "opam pin -k git" to pin in "mixed mode", or you'll > > have endless trouble with stale OASIS files) > > ______ > > > > i can start with > > > https://github.com/mirage/mirage-net-xen/blob/995bcf518b7c8e41e7db79050948bb7ecc1046b2/lib/frontend.ml#L106 > > , as listed in the Pioneer Projects page. > > > > Is there a recommended regression test set? i looked around > > https://mirage.io/wiki/contributing, but couldn't find any pointers. > > There are no automated tests. Running mirage-skeleton would let you > check if it was working. > > Dave Scott made a branch that allowed mirage-net-xen to run on Unix > (by making the Xen stuff abstract), which allowed running unit-tests > easily. I think it needs a bit of work to rebase it on master, though: > > https://github.com/djs55/mirage-net-xen/commits/refactor-modules > > https://github.com/djs55/mirage-net-xen/blob/refactor-modules/lib_test/test.ml > > (many of the changes on this branch have already been merged) > > Some proper integration tests that spin up multiple Xen VMs would be > great too. I know this has been discussed a few times, but I'm not > sure what the status is. > > > Thanks a lot! > > madhuri. > > > > On Wed, Jan 27, 2016 at 8:40 AM, Thomas Leonard <[email protected]> > wrote: > >> > >> On 27 January 2016 at 16:28, Madhuri Yechuri <[email protected]> > >> wrote: > >> > Hi, > >> > > >> > i am interested in contributing to MirageOS (during non-work hours), > and > >> > wondering if there is a beginner project recommendation? This would be > >> > my > >> > first project in OCAML (have 15 years industry coding experience in C > >> > (Oracle Database Server, VMware ESX) and C++ (VMware vCenter), and > >> > recent 9 > >> > months in Python (Flocker)). > >> > > >> > Looking through > >> > https://github.com/mirage/mirage-www/wiki/Pioneer-Projects , > >> > i understand Logging is taken from recent emails on this mailing list. > >> > Is > >> > there is any other beginner-friendly project that i could take up? > >> > > >> > Thanks a lot! > >> > madhuri. > >> > >> Hi Madhuri, > >> > >> There are lots of libraries that need improved logging, so as long as > >> people say which ones they're working on there should be no problem - > >> it would be great if you want to work on that! > >> > >> > >> -- > >> Dr Thomas Leonard http://roscidus.com/blog/ > >> GPG: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA > > > > > > > > -- > Dr Thomas Leonard http://roscidus.com/blog/ > GPG: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA >
_______________________________________________ MirageOS-devel mailing list [email protected] http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
