Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Add build target to run tests compiled to C# #17

Open
djcsdy opened this issue Jul 14, 2013 · 1 comment
Open

Add build target to run tests compiled to C# #17

djcsdy opened this issue Jul 14, 2013 · 1 comment
Milestone

Comments

@djcsdy
Copy link
Owner

djcsdy commented Jul 14, 2013

It should be feasible to invoke a C# compiler and then invoke the resulting executable, although it’s likely to be tricky to make this work cross-platform.

@djcsdy
Copy link
Owner Author

djcsdy commented Jul 14, 2013

Added in a branch named csharp-tests.

The automated tests currently fail due to a bug in hxcs. On Windows they fail to compile at all due to a different bug in hxcs. Therefore, I’ve not pushed this change to master.

djcsdy added a commit that referenced this issue Jul 14, 2013
.

This is a bit of a hack but it should work on most Linux distributions
where Mono executables are a registered non-native executable file
type. Doing it this way saves us from having to somehow figure out
whether we need to invoke mono.

Unfortunately the test.cs build target won't work on any platform
except Windows and Linux unless we do something more clever.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant