Closed Bug 426639 Opened 16 years ago Closed 15 years ago

Fix the test harness to work on OS/2

Categories

(Testing :: XPCShell Harness, defect)

x86
OS/2
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.9.2a1

People

(Reporter: mozilla, Assigned: wuno)

References

Details

(Keywords: verified1.9.1, Whiteboard: [verified1.9.1b4])

Attachments

(3 files, 11 obsolete files)

742 bytes, patch
mozilla
: review+
Details | Diff | Splinter Review
2.50 KB, patch
mozilla
: review+
Details | Diff | Splinter Review
1.38 KB, patch
benjamin
: review+
Details | Diff | Splinter Review
This is a follow-up to bug 415947 comment 22: the test harness doesn't work on OS/2. There are two problems that I have encountered:

1. The basic problem that it xpcshell cannot easily be run from any
   directory, because it depends on several DLLs in the dist\bin (or
   dist\lib) directory: mozjs.dll, xpcom.dll, xpcomcor.dll, and nspr4.dll.
   The result is this:

     [M:\obj_fx\storage\test]make check
     ../../_tests/xpcshell-simple/test_storage/unit/test_bug-365166.js: FAIL
     ../../_tests/xpcshell-simple/test_storage/unit/test_bug-365166.js.log:
     >>>>>>>
     M:/mozilla/tools/test-harness/xpcshell-simple/test_all.sh: 
        ../../dist/bin/xpcshell: No such file or directory
  
   One needs to find a way to set BEGINLIBPATH to include (as the first
   entry) the dist\bin directory before calling xpcshell or even
   test_all.sh. (This is already done in the sign.cmd scripts in the tree.)
   A workaround is to set BEGINLIBPATH by hand before starting make check.

2. The other problem is that file paths are concatenated wrongly. Running
   make check in storage\test I get paths like 
      M:\obj_fx\storage\test\M:\mozilla\storage\test\unit\corruptDB.sqlite
   The problem seems to be in the do_get_file() function from
   test-harness/xpcshell-simple/head.js.

I don't have any good ideas for either problem yet.
I wonder if problem 2 has anything to do with the perhaps missing XP_OS2 in MakeAbsolutePathname() in the JS code, that I saw by chance:

http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/js/src/js.c&rev=3.214&mark=3684-3686#3668
From your comments, I'm inferring that you mean the xpcshell unit test harness.
Component: Testing → TUnit
Product: Core → Testing
QA Contact: testing → tunit
Version: Trunk → unspecified
Attached patch fix v0.5 (obsolete) — Splinter Review
OK, the stuff in js.cpp that I found in comment 1 isn't used any more (it's in a part that's ifdefed NARCISSUS), but I guess one should fix that in case someone copies that code somewhere else.

The real fix for the path problem is to get NATIVE_TOPSRCDIR to have backward slashes as on Windows. That's what this patch does.
To be able to run "make check" I still have to

1. set BEGINLIBPATH to dist\bin before starting
2. edit test_all.sh to contain the real location of bash instead of
   /bin/bash

Not sure how to fix these problems (Walter, maybe you want to look at that?), but at least the patch let's us run most tests now. I believe it already uncovered a few problems. ;-)
Hardware: Other → x86
Version: unspecified → Trunk
(In reply to comment #4)
> To be able to run "make check" I still have to
> 
> 1. set BEGINLIBPATH to dist\bin before starting
> 2. edit test_all.sh to contain the real location of bash instead of
>    /bin/bash
I'm not sure that I made everything correctly, as I didn't observe a difference with or w/o setting BEGINLIBPATH as in 1.
I had also to edit test_all.sh and s|/bin/bash|/moztools/ash.exe| which seemed to work
> 
> Not sure how to fix these problems (Walter, maybe you want to look at that?),
Just a first thought how about writing a test_all.cmd file for OS/2, as I have no idea how to get rid of !/bin/bash in test_all.sh in such a way that other platforms are not affected. I'll have a closer look at it
> but at least the patch let's us run most tests now. I believe it already
> uncovered a few problems. ;-)
So far I see a stop in xpcom/tests and when I run the tests suggested in 
bug415947 comment 21, most test in storage/test pass but a lot of tests in the other subdirs show errors. As I built minefield with gcc-3.4.6 I encountered a lot of libc063 fff... sigsegv with xpcshell.exe.
I will rebuild with gcc-3.3.5.
Do I have to build with --enable-tests?
(I'd guess so, but the build does not complete then, it breaks in modules\plugin\sample somewhere when npupp.h is not found, manually adding it to the dist\include directory let the build go a bit further, but then it breaks again, will investigate and file a new bug about later).
You guys have a working Python, right? (presumably, since we require it for the build.) I've been trying to get someone to rewrite those test_* shell scripts in Python for a while now. They're kind of ugly, and would probably be much cleaner as Python.
With a gcc-3.3.5 build I can confirm that https://bugzilla.mozilla.org/attachment.cgi?id=355023 works. The gcc-3.4.6 libc063 crashes are due to the enablement of jit in some of the tests.
Make -C directory/test{s} check works, i.e. we don't have problems with the test_all.sh script (except the location of bash).
For me the question is how we handle the failing tests? Should we collect them somewhere (a new bug)?
In Bug 452418 it was decided to use explicitly bash (and not dash, which is a debianized version of ash) for the test scripts as the mozilla/tools/test-harness/xpcshell-simple/test_one.sh script failed with dash due to some bashisms contained in that script. However I was not able to get a test of a single file running as described in test_one.sh even when I used bash-3.1. This could be due to bugs in our bash or the parameters test_one.sh uses are wrongly resolved maybe due to the usage of drive letters, semicolons for path separators or backslashes on OS/2.
Peter, how do you want to use the test framework, do you think about automatic testing after building? Unless there is no python substitute for the shell scripts (bug 444177) we probably need a little cmd file for setting the libpath and calling sed to substitute the bash location (and back after running). I don't think that I would be able to do a real rexx substitute for test_all.sh.
(In reply to comment #7)
> In Bug 452418 it was decided to use explicitly bash (and not dash, which is a
> debianized version of ash) for the test scripts as the
> mozilla/tools/test-harness/xpcshell-simple/test_one.sh script failed with dash
> due to some bashisms contained in that script. However I was not able to get a
> test of a single file running as described in test_one.sh even when I used
> bash-3.1. This could be due to bugs in our bash or the parameters test_one.sh
> uses are wrongly resolved maybe due to the usage of drive letters, semicolons
> for path separators or backslashes on OS/2.
Ok, seems I made something wrong when I tested with test_one.sh, since after creating a \bin directory on the drive my buildsystem resides and copying bash.exe to that bin directory and setting beginlibpath also check-one and check-interactive are working.
If we had a short .cmd script that explicitely called
   bash <scriptname>
(and set BEGINLIBPATH) then we shouldn't have any more problems with the shebang giving a different path. I'm just not sure how to integrate that in the Makefiles.


I'm not sure how often I would run the tests. But whenever I build nightlies, I usually also build a debug build of SM (or FF). I guess that could be used to run the testsuite afterwards, but the output would need analysis which I probably won't have time to do.


(In reply to comment #6)
> You guys have a working Python, right? (presumably, since we require it for the
> build.)

Python tester scripts would help us, too, yes. (Unless they require a too new Python version that's not yet ported to or stable on OS/2.)
What's the latest?  We'll be requiring 2.4 very soon.
(In reply to comment #10)
> What's the latest?  We'll be requiring 2.4 very soon.

Our latest stable version is 2.4.4. There are some 2.5.x builds out, but at the moment they don't play well with mozilla.
Attached patch v0.6 try to add an OS/2 cmd file (obsolete) — Splinter Review
This is a first try for using a cmd file to call the test programs, seems to do the same as setting the shell and beginlibpath manually. I exchanged the check for $(HOST_OS_ARCH) against $(OS_ARCH), because checking for ($(HOST_OS_ARCH),os2-emx) for the newly added lines failed (probably because the removal of vacpp and emx checks recently).
This does not set beginlibpath, but calls bash from config.mk.
Attachment #356616 - Attachment is obsolete: true
Comment on attachment 356682 [details] [diff] [review]
v0.7 keep it simple, invoke bash from config.mk

Doesn't work when I restarted my computer and tried directly from the objdir, then it doesnt't find xpcshell.exe anymore. I wonder, if sometimes during my tests the beginlibpath is stored in the environment and then pretends I don't need to set it :-(
Attachment #356682 - Attachment is obsolete: true
Yes, I'm not surprised. That hasn't worked here, either.

I liked attachment 356616 [details] [diff] [review] but I have a few comments on that:
- The argument parsing in that script is broken because dist and objdir
  are not actually passed as the first arguments.
- RUN_TEST_PROGRAM should be set somewhere else and not inside the
  check targets.
- test.cmd should probably be located in next to the test.sh scripts in
  the tools/test-harness/xpcshell-simple dir. Maybe called test_os2.cmd
  so that everybody knows what it's about.
- My REXX skills are very limited so I don't really know how to improve
  the parsing inside the script to get the $(DIST)/bin directory with
  backward slashes from the input that is already given. But maybe one
  could change the call so that
     RUN_TEST_PROGRAM = <path>/test.cmd $(DIST)/bin
  then the path we need _is_ the first argument.
- objdir isn't actually needed nor is it passed to the script.
- Instead of the numbered arguments one can pass "therest" to bash.exe
  (without path prefix.
- Just to be similar to the Windows part we should continue to use
  $(HOST_OS_ARCH) instead of $(OS_ARCH) (even if nobody will cross-
  compile OS/2 targets on another platform). It worked for me with
  os2-emx and although I don't know where it came from it is set to
  that in autoconf.mk (both for mozilla-1.9.1 and mozilla-central
  builds). It may be something autoconf has built in.

I have split off the minor js.cpp fix into bug 474092.
(In reply to comment #15)
> Yes, I'm not surprised. That hasn't worked here, either.
> 
> I liked attachment 356616 [details] [diff] [review] but I have a few comments on that:
> - The argument parsing in that script is broken because dist and objdir
>   are not actually passed as the first arguments.
actually, my intention to attach a script of which I knew it is in principle wrong was to get some comments, cause I am also far away from knowing rexx, thus your comments are very appreciated and give me ideas how to go on, thanks.
> - RUN_TEST_PROGRAM should be set somewhere else and not inside the
>   check targets.
Setting it in config.mk leads to problems with the cpp unit tests in xpcom (see below) 
> - test.cmd should probably be located in next to the test.sh scripts in
>   the tools/test-harness/xpcshell-simple dir. Maybe called test_os2.cmd
>   so that everybody knows what it's about.
> - My REXX skills are very limited so I don't really know how to improve
>   the parsing inside the script to get the $(DIST)/bin directory with
>   backward slashes from the input that is already given. But maybe one
>   could change the call so that
>      RUN_TEST_PROGRAM = <path>/test.cmd $(DIST)/bin
>   then the path we need _is_ the first argument.
> - objdir isn't actually needed nor is it passed to the script.
> - Instead of the numbered arguments one can pass "therest" to bash.exe
>   (without path prefix.
Ah, that's nice
> - Just to be similar to the Windows part we should continue to use
>   $(HOST_OS_ARCH) instead of $(OS_ARCH) (even if nobody will cross-
>   compile OS/2 targets on another platform). It worked for me with
>   os2-emx and although I don't know where it came from it is set to
>   that in autoconf.mk (both for mozilla-1.9.1 and mozilla-central
>   builds). It may be something autoconf has built in.
Yes, the reason, why it failed in my first attempts was probably the same as in comment #14. I'm not yet sure why, but it seems to make a difference if one runs make check after building or the other day in an already finished build directory :-(

There is another problem coming up when one sets the script to RUN_TEST_PROGRAM, the cpp tests in xpcom are also invoked by make check (when you run make check from the toplevel objdir you won't come so far down, because several xpshell tests fail and then it simply stops because of exit_on_error). However the cpp tests are invoked when running make -k check from the xpcom directory. With all scripts I tested I run into the problem that the cpp tests are already programs, i.e. exe files, but bash tries to run them as arguments.
The two different ways of running tests shell script vs. program is probably the reason that for windows and OS/2 RUN_TEST_PROGRAM is empty.
Attached patch this seems to do it (obsolete) — Splinter Review
contains the rules.mk changes of fix v0.5. RUN_TEST_PROGRAM is defined in config.mk for os/2.
I had to do some changes to the xpcom/tests/Makefile.in
Problem 1 is that TestVersionCompartor gets defined parameters from a perl script. Starting an OS/2 rexx cmd file as RUN_TEST_PROGRAM inbetween appends parameters to the perl parameters and then an error occurs. Even when I manipulate the rexx cmd file to exit immediately it will spit out the path it was invoked from or override the perl parameters with an empty string. So I invented the RUN_PERL_TEST_PROGRAM variable that is set to nothing on OS/2 and to $RUN_TEST_PROGRAM for the other platforms.
Problem 2 was that the xpidl compiles a test header in the srcdir, when grep is invoked for checking the header it doesn't find it.
Will post a separate patch for the rexx file
Attachment #355023 - Attachment is obsolete: true
Attachment #359905 - Flags: review?(mozilla)
Attached patch together with that rexx script (obsolete) — Splinter Review
The script checks first if the second parsed parameter is a file with a name starting with test_  (test_all.sh and test_one.sh are the bash scripts for the xpcshell tests), if that's _not_ the case it will change the slashes to backslashes to invoke the TEST*.exe file, if it is test_{one,all}.sh it starts bash and all the rest is handled over to bash. Note, that bash must be in the path, I didn't want to hardcode it, but usually on OS/2 building systems /usr/bin should be added to the path by setmozenv.cmd anyway. When you run make -k check from the objdir, you should be able to run all cpp and xpcshell unit tests (at least when compiled with gcc3.3.5) even if some xpcshell tests may fail, you'll get a log but make runs further to the next test. However, one test is problematic as it stalls forever (DosWaitChild rc = 128): _test/xpcshell-simple/test_update/unit/test_0110_general.js tries to simulate a complete mar update which is probably not possible on OS/2. In order to run a complete make check I moved it out of the directory.
We should probably open a bug to not build the updater at all on OS/2.
Attachment #359906 - Flags: review?(mozilla)
oops, that's the script I wanted to add.
Attachment #359906 - Attachment is obsolete: true
Attachment #359907 - Flags: review?(mozilla)
Attachment #359906 - Flags: review?(mozilla)
Attachment #359905 - Flags: review?(mozilla)
Comment on attachment 359905 [details] [diff] [review]
this seems to do it

Argh, this works only  with firefox, with a seamonkey build I see in the mozilla dir
[E:\mozbuild3\mozilla\xpcom\tests]set BEGINLIBPATH=..\..\DIST\bin;E:\usr\local433\lib;E:\usr\lib;E:\GLIBIDL\gcc335\lib;E:\PERL\lib;E:\MOZTOOLS;D:\EMX\dll;E:\PYTHON244; 

[E:\mozbuild3\mozilla\xpcom\tests]set LIBPATHSTRICT=T 

[E:\mozbuild3\mozilla\xpcom\tests]BASH E:/usr/src/hg/comm-central/mozilla/testing/xpcshell/test_all.sh ../../dist/bin/xpcshell E:/usr/src/hg/comm-central/mozilla E:\usr\src\hg\comm-central\mozilla ../../_tests/xpcshell-simple/xpcom/unit 
TEST-UNEXPECTED-FAIL | ../../_tests/xpcshell-simple/xpcom/unit/test_bug121341.js | test failed, see log
../../_tests/xpcshell-simple/xpcom/unit/test_bug121341.js.log:
>>>>>>>
failed to get nsJSRuntimeService!
Attachment #359905 - Attachment is obsolete: true
Attachment #360796 - Flags: review?(mozilla)
Attachment #360795 - Flags: review?(mozilla)
I added an 'exit' command in the loop, cause it sometimes tried to run the loop once again
Attachment #360799 - Flags: review?(mozilla)
Ok, I split the patch into several parts, the Makefile Patch here has probably to be reviewed by bsmedberg. The solution to make the perl script work is to move RUN_TEST_PROGRAM to the beginning of the line. This construct works also with linux, for windows it doesn't matter because RUN_TEST_PROGRAM is not set there. I'd  guess mac would probably follow the linux line, so it should work there as well, but that I can't test.
Peter, you may want to try this part also and may suggest a reviewer for it.
Attachment #359907 - Attachment is obsolete: true
Attachment #359907 - Flags: review?(mozilla)
(In reply to comment #20)

> failed to get nsJSRuntimeService!

Either this was due to building with gcc-4.3.3 (not yet sure about that) or I had something in my .mozconfig about enable-static. I found out, that building static interferes with the components needed by xpcshell and then the nsJSRuntimeService cannot be invoked properly because the components needed are part of the static exe.
Attachment #360799 - Flags: review?(mozilla) → review+
Comment on attachment 360799 [details] [diff] [review]
together with that rexx script - slightly improved
[Checkin: Comment 38 & 47]

Yes, this script looks good now. But of course it depends on reviews/changes in the other patches.
Comment on attachment 360803 [details] [diff] [review]
patch for the problematic xpcom/test/Makefile

This somehow doesn't look right, but maybe just because I don't understand it yet.

Is the RUN_TEST_PROGRAM here the same test_os2.cmd script? Because I don't really see how that can call perl.
Comment on attachment 360795 [details] [diff] [review]
patch for {rules,config}.mk mozilla part

Should the $(MOZILLA_DIR) in this patch not be $(topsrcdir)?
Attachment #360796 - Flags: review?(mozilla) → review+
Comment on attachment 360796 [details] [diff] [review]
patch for {rules,config}.mk comm-central part

Yes, this should be fine given test_os2.cmd from attachment 360799 [details] [diff] [review].
(In reply to comment #27)
> (From update of attachment 360803 [details] [diff] [review])
> This somehow doesn't look right, but maybe just because I don't understand it
> yet.
> 
> Is the RUN_TEST_PROGRAM here the same test_os2.cmd script? Because I don't
> really see how that can call perl.

Yes it's the test_os2.cmd script, it first sets beginlibpath, that's what it needed for, then jumps into the loop and calls perl (after converting the slashes to backslashes) and adds the rest of the line as the parameters. The way it is now, it tries to run the parameters of the perl script instead of passing them silently over to the versioncomparator. On linux RUN_TEST_PROGRAM is resolved to run-mozilla.sh and also only needed to set the LD_LIBRARY_PATH, it seems not to matter if it does it before or after the perl script was running, thus it works also on linux.
Attached patch patch for m-c using topsrcdir (obsolete) — Splinter Review
(In reply to comment #28)
> (From update of attachment 360795 [details] [diff] [review])
> Should the $(MOZILLA_DIR) in this patch not be $(topsrcdir)?

According to rules.mk MOZILLA_DIR is set to topsrcdir (if it's else not defined). But maybe it's safer to use $(topsrcdir), someone (me?) _will_ have a strange setmozenv.cmd ;-).
Attachment #360795 - Attachment is obsolete: true
Attachment #360795 - Flags: review?(mozilla)
Attachment #360811 - Flags: review?(mozilla)
Comment on attachment 360811 [details] [diff] [review]
patch for m-c using topsrcdir

oops, forgotten to ask for r
context changes, apply cleanly
Attachment #360796 - Attachment is obsolete: true
Attachment #363788 - Flags: review+
update due to context changes
Attachment #360811 - Attachment is obsolete: true
Attachment #363789 - Flags: review?(mozilla)
Attachment #360811 - Flags: review?(mozilla)
Sorry that it takes me so long to review this, it looks good, but I really want to test this. I hope I'll be able to do that in the next days. If I haven't done that by Sunday, please kick me. ;-)
Comment on attachment 363789 [details] [diff] [review]
patch for m-c using topsrcdir (context changes)
[Checkin: Comment 39 & 48]

Still looks right to me. But as I haven't been able to complete an OS/2 build in days (machine reboots itself in between), I still haven't tested. So please find someone else to check this in.
Attachment #363789 - Flags: review?(mozilla) → review+
attachment id=363789
attachment id=360799
Who checks these attachments in, please don't resolve the bug fixed yet.
Keywords: checkin-needed
Whiteboard: attachments 363789 360799
Comment on attachment 360799 [details] [diff] [review]
together with that rexx script - slightly improved
[Checkin: Comment 38 & 47]


http://hg.mozilla.org/mozilla-central/rev/abb757f6ef98
Attachment #360799 - Attachment description: together with that rexx script - slightly improved → together with that rexx script - slightly improved [Checkin: Comment 38]
Comment on attachment 363789 [details] [diff] [review]
patch for m-c using topsrcdir (context changes)
[Checkin: Comment 39 & 48]


http://hg.mozilla.org/mozilla-central/rev/c9107998f513
Attachment #363789 - Attachment description: patch for m-c using topsrcdir (context changes) → patch for m-c using topsrcdir (context changes) [Checkin: Comment 39]
Assignee: nobody → wuno
Status: NEW → ASSIGNED
Keywords: checkin-needed
Whiteboard: attachments 363789 360799
Target Milestone: --- → mozilla1.9.2a1
Attachment #360803 - Flags: review?(benjamin)
Comment on attachment 360803 [details] [diff] [review]
patch for the problematic xpcom/test/Makefile

benjamin, in order to get the tests running on OS/2 we need to run our test program (setting the beginlibpath which is equivalent to LD_LIBRARY_PATH on UNIX) _before_ starting the perl script for the testversioncomparator, since our test program creates some verbose output in addition to the output of the perl script and then the testversioncomparator fails. Running the test program (run-mozilla.sh) in advance on linux works does the right thing as well.
Secondly, I specified the target dir of the xpidl created TestScriptable.h file, because it was not found under OS/2 (how do other platform grep's find the header?)
Comment on attachment 360803 [details] [diff] [review]
patch for the problematic xpcom/test/Makefile

>diff --git a/xpcom/tests/Makefile.in b/xpcom/tests/Makefile.in


>-    @if grep Notscriptable TestScriptable.h | grep -q NS_SCRIPTABLE ; then \
>+    @if grep Notscriptable $(srcdir)/TestScriptable.h | grep -q NS_SCRIPTABLE ; then \

Not clear on why you did this: TestScriptable.h should not be in the srcdir, but in the objdir (current directory)
Attachment #360803 - Flags: review?(benjamin) → review-
(In reply to comment #41)
> Not clear on why you did this: TestScriptable.h should not be in the srcdir,
> but in the objdir (current directory)
Weird, on OS/2 it ends up in the srcdir, while in win it indeed is in the objdir.
ok, I think I found out, what's  going on, its xpidl.exe on OS/2 that behaves differently than that of Windows or Unix and the bug about that difference is a very old one. Will file a bug that OS/2 xpidl.exe will behave like on the other platforms. Therefore, only the change in the order with regard to the testprogram would be necessary.
Attachment #360803 - Attachment is obsolete: true
Attachment #365490 - Flags: review?(benjamin)
Attachment #365490 - Flags: review?(benjamin) → review+
Keywords: checkin-needed
Whiteboard: attachment 365490
Comment on attachment 365490 [details] [diff] [review]
patch for the problematic xpcom/test/Makefile take 2
[Checkin: Comment 44 & 49]


http://hg.mozilla.org/mozilla-central/rev/b3c526cd653b
Attachment #365490 - Attachment description: patch for the problematic xpcom/test/Makefile take 2 → patch for the problematic xpcom/test/Makefile take 2 [Checkin: Comment 44]
Keywords: checkin-needed
Whiteboard: attachment 365490
Thanks Serge --> fixed for trunk.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Depends on: 481476
OS/2 only patches, partly in cross-platform files run on trunk for several weeks w/o causing problems
Keywords: checkin-needed
Whiteboard: mozilla1.9.1, attachments 360799, 363789, 365490
Comment on attachment 360799 [details] [diff] [review]
together with that rexx script - slightly improved
[Checkin: Comment 38 & 47]


http://hg.mozilla.org/releases/mozilla-1.9.1/rev/6c32cb637dd7
Attachment #360799 - Attachment description: together with that rexx script - slightly improved [Checkin: Comment 38] → together with that rexx script - slightly improved [Checkin: Comment 38 & 47]
Comment on attachment 363789 [details] [diff] [review]
patch for m-c using topsrcdir (context changes)
[Checkin: Comment 39 & 48]


http://hg.mozilla.org/releases/mozilla-1.9.1/rev/a0c795d93dc2
Attachment #363789 - Attachment description: patch for m-c using topsrcdir (context changes) [Checkin: Comment 39] → patch for m-c using topsrcdir (context changes) [Checkin: Comment 39 & 48]
Comment on attachment 365490 [details] [diff] [review]
patch for the problematic xpcom/test/Makefile take 2
[Checkin: Comment 44 & 49]


http://hg.mozilla.org/releases/mozilla-1.9.1/rev/ede6e019ff42
Attachment #365490 - Attachment description: patch for the problematic xpcom/test/Makefile take 2 [Checkin: Comment 44] → patch for the problematic xpcom/test/Makefile take 2 [Checkin: Comment 44 & 49]
Flags: in-testsuite-
Whiteboard: mozilla1.9.1, attachments 360799, 363789, 365490 → [fixed1.9.1b4]
Final request for checkin the last bits into c-c(In reply to comment #33)
attachment (id=363788) [details]
Keywords: checkin-needed
Whiteboard: [fixed1.9.1b4] → c-c attachment 363788, [fixed1.9.1b4]
Comment on attachment 363788 [details] [diff] [review]
patch for {rules,config}.mk comm-central part (context changed)
[Moved to bug 484287]

>+RUN_TEST_PROGRAM = $(MOZILLA_SRCDIR)/testing/xpcshell/test_os2.cmd "$(DIST)"

Aren't you changing this path in bug 484287 ?
(In reply to comment #51)
> (From update of attachment 363788 [details] [diff] [review])
> >+RUN_TEST_PROGRAM = $(MOZILLA_SRCDIR)/testing/xpcshell/test_os2.cmd "$(DIST)"
> 
> Aren't you changing this path in bug 484287 ?

Yes, but only after the change of the test scripts to python (when test_all.sh will be removed), which I don't know when or if it will happen on 1.9.1 branch. As far as I know, nobody of us builds seamonkey or thunderbird on top of trunk, at least not the few people building as well the tests.
The harness rewrite is landing on 1.9.1 ASAP. (As soon as the tree is green enough.)
(In reply to comment #53)
> The harness rewrite is landing on 1.9.1 ASAP. (As soon as the tree is green
> enough.)
Ok, Serge, I canceled the checkin-needed keyword. I 'll attach a corrected patch for c-c in bug484287. Thanks
Keywords: checkin-needed
Whiteboard: c-c attachment 363788, [fixed1.9.1b4] → [fixed1.9.1b4]
Depends on: 484287
Status: RESOLVED → VERIFIED
Whiteboard: [fixed1.9.1b4] → [verified1.9.1b4]
Attachment #363788 - Attachment description: patch for {rules,config}.mk comm-central part (context changed) → patch for {rules,config}.mk comm-central part (context changed) [Moved to bug 484287]
Attachment #363788 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: