pkgsrc-wip/corefx-git
2016-05-14 14:57:22 +02:00
..
DESCR
distinfo corefx-git: Remobe merged patches upstream 2016-05-14 14:57:22 +02:00
Makefile corefx-git: Correct usage of clang/clang++ 2016-05-08 02:11:40 +02:00
PLIST
README corefx-git: Run managed tests as root 2016-04-20 04:53:48 +02:00

My steps to run CoreFX managed code tests

1. Build CoreCLR (with pkgsrc-wip/coreclr-git) on NetBSD x64 Debug and install the Product dir to /usr/pkg/CoreCLR:
cd /usr/pkgsrc/wip/coreclr-git && make install

2. Build CoreFX native x64 Debug and the work (build) dir is in /tmp/pkgsrc-tmp/wip/corefx-git/work/corefx:
cd /usr/pkgsrc/wip/corefx-git && make

3. Build CoreCLR Debug x64 on Linux and copy mscorlib.dll from ./bin/Product/Linux.x64.Debug/mscorlib.dll to NetBSD machine under /usr/pkg/CoreCLR:
./build.sh mscorlib Debug

4. Build CoreFX Debug x64 on Linux and copy bin/ to NetBSD machine under /public/bin:
./build.sh /p:OSGroup=NetBSD /p:SkipTests=true

5. Try to run ./run-test.sh:
$ pwd
/tmp/pkgsrc-tmp/wip/corefx-git/work/corefx
$ sudo ./run-test.sh \
--coreclr-bins /usr/pkg/CoreCLR/ \
--mscorlib-bins /usr/pkg/CoreCLR/ \
--corefx-tests /public/bin/tests/NetBSD.AnyCPU.Debug/ \
--corefx-native-bins ./bin/NetBSD.x64.Debug/Native/