You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@@ -1,171 +0,0 @@
|
||||
2009-11-05 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Add predefined negative file masks.
|
||||
|
||||
2009-09-20 Sebastien Pouliot <sebastien@ximian.com>
|
||||
|
||||
* compiler-tester.cs: Define out some parts for NET_2_1 since
|
||||
they are not part of Silverlight 2 public API
|
||||
|
||||
2009-07-29 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Add predefined file masks.
|
||||
|
||||
2009-06-02 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Add "safe-execution" options.
|
||||
|
||||
2009-02-19 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: More verbosity needed for runtime crashes.
|
||||
|
||||
2008-11-05 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Better -warnaserror detection.
|
||||
|
||||
2008-10-01 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Fixed broken value type test.
|
||||
|
||||
2008-09-10 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Add non-varags LogLine overload.
|
||||
|
||||
2008-07-28 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Removed ExecuteFile.
|
||||
|
||||
2008-07-24 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Always exercise symbol writer.
|
||||
|
||||
2008-07-29 Martin Baulig <martin@ximian.com>
|
||||
|
||||
* compiler-tester.cs: Added `-compiler-options' command line
|
||||
argument to specify global compiler options in addition to the
|
||||
ones which are read from the test cases.
|
||||
|
||||
2008-04-22 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Print test name when IL reduction is detected.
|
||||
|
||||
2008-04-07 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Don't report IL reduction as regression.
|
||||
|
||||
2008-03-14 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Handle new tests correctly.
|
||||
|
||||
2008-03-14 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Replaced XmlTextWriter and XmlTextReader with
|
||||
XmlWriter and XmlReader.
|
||||
|
||||
2008-03-14 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Added IL regression support.
|
||||
|
||||
2008-03-13 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Refactored to support verbose mode.
|
||||
|
||||
2008-02-18 Raja R Harinath <harinath@hurrynot.org>
|
||||
|
||||
* Makefile ($(dir $(PROGRAM))/.stamp): New.
|
||||
|
||||
2008-02-17 Raja R Harinath <harinath@hurrynot.org>
|
||||
|
||||
* Makefile [PROFILE=net_2_1]: Copy file from net_2_1_raw profile.
|
||||
* compiler-tester.cs: Work better with 'net_2_1' profiles.
|
||||
|
||||
2007-11-28 Raja R Harinath <harinath@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Work better with the 'net_2_1' profile.
|
||||
* xmldocdiff.cs: Disable in the 'net_2_1' profile.
|
||||
|
||||
2007-11-06 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Made the test output less verbose.
|
||||
|
||||
2007-09-21 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Mono assembly loading issue has been fixed, switch
|
||||
to app-domain execution only.
|
||||
|
||||
2007-08-01 Marek Safar <marek.safar@gmail.com>
|
||||
|
||||
* compiler-tester.cs: Report invalid tests separately.
|
||||
|
||||
2006-11-20 Martin Baulig <martin@ximian.com>
|
||||
|
||||
* compiler-tester.cs
|
||||
(PositiveChecker.HandleFailure): Use `LogLine ("{0}", extra)'
|
||||
since the error message from the compiler might contain {}.
|
||||
|
||||
2006-10-06 Marek Safar <marek.safar@seznam.cz>
|
||||
|
||||
* compiler-tester.cs: Positive test file can be now DLL.
|
||||
|
||||
2006-09-27 Marek Safar <marek.safar@seznam.cz>
|
||||
|
||||
* compiler-tester.cs: Add a new "//GMCS:" comment for messages
|
||||
different on 2.0 runtime.
|
||||
Add detection of the exactly same error/warning.
|
||||
|
||||
2006-04-07 Marek Safar <marek.safar@seznam.cz>
|
||||
|
||||
* compiler-tester.cs: Prints known issues stats.
|
||||
|
||||
2006-01-18 Martin Baulig <martin@ximian.com>
|
||||
|
||||
* compiler-tester.cs: Added a new "// Dependencies: " magical
|
||||
comment to provide real dependency tracking.
|
||||
|
||||
2005-11-11 Marek Safar <marek.safar@seznam.cz>
|
||||
|
||||
* compiler-tester.cs: Implemented compiler warning map checking.
|
||||
Enabled message ckeck for gmcs.
|
||||
|
||||
2005-09-27 Marek Safar <marek.safar@seznam.cz>
|
||||
|
||||
* compiler-tester.cs (GetCompilerError): Small fix when no error
|
||||
location and text contains ':'.
|
||||
|
||||
2005-09-22 Raja R Harinath <rharinath@novell.com>
|
||||
|
||||
* compiler-tester.cs (TestRunner.ExecFile): New helper carved out
|
||||
of ...
|
||||
(TestRunner.ExecuteFile) [process version]: ... this.
|
||||
(TestRunner.ExecuteFile) [MethodInfo version]: Add new parameter.
|
||||
Fall back to executing the process if the method invocation fails.
|
||||
(TestRunner.Check): Update to changes.
|
||||
|
||||
2005-09-19 Marek Safar <marek.safar@seznam.cz>
|
||||
|
||||
* compiler-tester: Reverted Martin's revert and ignore gmcs error
|
||||
tests for new checks as most of them are not "valid".
|
||||
|
||||
2005-08-31 Martin Baulig <martin@ximian.com>
|
||||
|
||||
* compiler-tester: Reverted Marek's latest changes - they were
|
||||
breaking 231 gmcs tests.
|
||||
|
||||
2005-06-09 Marek Safar <marek.safar@seznam.cz>
|
||||
|
||||
* compiler-tester: Add process test runner to cope with
|
||||
too many files in AppDomain(s).
|
||||
|
||||
2005-06-06 Raja R Harinath <harinath@gmail.com>
|
||||
|
||||
* Makefile (NO_INSTALL): Set.
|
||||
|
||||
2005-06-06 Raja R Harinath <rharinath@novell.com>
|
||||
|
||||
* Makefile: Convert to use executable.make.
|
||||
* compiler-tester.exe.sources: New.
|
||||
|
||||
2005-06-06 Marek Safar <marek.safar@seznam.cz>
|
||||
|
||||
* Initial commit
|
||||
|
||||
@@ -5,21 +5,7 @@ include ../../build/rules.make
|
||||
PROGRAM = compiler-tester.exe
|
||||
NO_INSTALL = yes
|
||||
|
||||
ifeq (moonlight, $(PROFILE))
|
||||
|
||||
all-local: $(PROGRAM)
|
||||
clean-local:
|
||||
rm -f $(PROGRAM)
|
||||
|
||||
$(PROGRAM): $(dir $(PROGRAM))/.stamp
|
||||
$(PROGRAM): $(topdir)/class/lib/moonlight_raw/compiler-tester.exe
|
||||
cp $< $@
|
||||
|
||||
dist-local: dist-default
|
||||
install-local uninstall-local test-local run-test-local run-test-ondotnet-local: ; @:
|
||||
|
||||
else
|
||||
LOCAL_MCS_FLAGS =
|
||||
LIB_REFS = System System.Core System.Xml
|
||||
|
||||
include $(topdir)/build/executable.make
|
||||
|
||||
endif
|
||||
@@ -589,13 +589,12 @@ namespace TestRunner {
|
||||
string[] test_args;
|
||||
|
||||
if (test.CompilerOptions != null) {
|
||||
test_args = new string[2 + test.CompilerOptions.Length];
|
||||
test_args = new string[1 + test.CompilerOptions.Length];
|
||||
test.CompilerOptions.CopyTo (test_args, 0);
|
||||
} else {
|
||||
test_args = new string[2];
|
||||
test_args = new string[1];
|
||||
}
|
||||
test_args[test_args.Length - 2] = test_args[0];
|
||||
test_args[test_args.Length - 1] = "-debug";
|
||||
test_args[test_args.Length - 1] = test_args[0];
|
||||
test_args[0] = test.FileName;
|
||||
|
||||
return tester.Invoke (test_args);
|
||||
@@ -697,11 +696,9 @@ namespace TestRunner {
|
||||
log_file.WriteLine (msg, rest);
|
||||
}
|
||||
|
||||
public void LogFileLine (string file, string msg, params object [] args)
|
||||
public void LogFileLine (string file, string msg)
|
||||
{
|
||||
string s = verbose ?
|
||||
string.Format (msg, args) :
|
||||
file + "...\t" + string.Format (msg, args);
|
||||
string s = verbose ? msg : file + "...\t" + msg;
|
||||
|
||||
Console.WriteLine (s);
|
||||
if (log_file != null)
|
||||
@@ -871,7 +868,7 @@ namespace TestRunner {
|
||||
return true;
|
||||
|
||||
if (md.ILSize > il_size) {
|
||||
checker.LogFileLine (test.FileName, "{0} (code size reduction {1} -> {2})", decl_type + ": " + m_name, md.ILSize, il_size);
|
||||
checker.LogFileLine (test.FileName, string.Format ("{0} (code size reduction {1} -> {2})", decl_type + ": " + m_name, md.ILSize, il_size));
|
||||
md.ILSize = il_size;
|
||||
return true;
|
||||
}
|
||||
@@ -1442,17 +1439,16 @@ namespace TestRunner {
|
||||
|
||||
static bool TryToMatchErrorMessage (string actual, string expected)
|
||||
{
|
||||
var path_mask_start = expected.IndexOf ("*PATH*");
|
||||
actual = actual.Replace ("\\", "/");
|
||||
var path_mask_start = expected.IndexOf ("*PATH*", StringComparison.Ordinal);
|
||||
if (path_mask_start > 0 && actual.Length > path_mask_start) {
|
||||
var path_mask_continue = expected.Substring (path_mask_start + 6);
|
||||
var expected_continue = actual.IndexOf (path_mask_continue, path_mask_start);
|
||||
if (expected_continue > 0) {
|
||||
var path = actual.Substring (path_mask_start, expected_continue - path_mask_start);
|
||||
if (actual == expected.Replace ("*PATH*", path))
|
||||
return true;
|
||||
|
||||
throw new ApplicationException (expected.Replace ("*PATH*", path));
|
||||
var parts = expected.Split (new [] { "*PATH*" }, StringSplitOptions.None);
|
||||
foreach (var part in parts) {
|
||||
if (!actual.Contains (part))
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user