You've already forked linux-packaging-mono
Imported Upstream version 3.8.0
Former-commit-id: 6a76a29bd07d86e57c6c8da45c65ed5447d38a61
This commit is contained in:
@@ -20,7 +20,7 @@ cleanup:
|
||||
run-test-local: run-mono-shlib-cop-test
|
||||
|
||||
run-mono-shlib-cop-test: $(the_lib) $(TEST_INPUT)
|
||||
$(RUNTIME) $(the_lib) $(TEST_INPUT) | diff - test.dll.out
|
||||
MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(the_lib) $(TEST_INPUT) | diff - test.dll.out
|
||||
|
||||
$(TEST_INPUT) : test.cs
|
||||
$(CSCOMPILE) -target:library $< -out:$@
|
||||
|
@@ -42,8 +42,8 @@ namespace Mono.Unmanaged.Check {
|
||||
private static extern int g_module_close (IntPtr handle);
|
||||
|
||||
// Warning
|
||||
[DllImport ("libglib-2.0.so")]
|
||||
private static extern void g_free (IntPtr mem);
|
||||
[DllImport ("libMonoPosixHelper.so")]
|
||||
private static extern int Mono_Posix_Stdlib_TMP_MAX ();
|
||||
|
||||
// Error: no such library
|
||||
[DllImport ("does-not-exist")]
|
||||
@@ -60,7 +60,7 @@ namespace Mono.Unmanaged.Check {
|
||||
Test ()
|
||||
{
|
||||
g_module_close (IntPtr.Zero);
|
||||
g_free (IntPtr.Zero);
|
||||
Mono_Posix_Stdlib_TMP_MAX ();
|
||||
Foo ();
|
||||
RenameMe ();
|
||||
DoesNotExist ();
|
||||
|
Reference in New Issue
Block a user