This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 58444 - Add support for qa-performance tests
Summary: Add support for qa-performance tests
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-29 12:24 UTC by L Martinek
Modified: 2005-09-05 09:51 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
suggested changes (6.70 KB, text/plain)
2005-04-29 15:42 UTC, Petr Blaha
Details
diff with correct -u option (7.94 KB, patch)
2005-05-02 15:30 UTC, Petr Blaha
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description L Martinek 2005-04-29 12:24:34 UTC
Please add project actions for building and running qa-performance tests like
it's now for qa-functional tests. Performance tests are located in
qa-performance folder.

Building:
ant -f <module>/test/build.xml -Dxtest.testtype=qa-performance buildtests

Running:
ant -f <module>/test/build.xml -Dxtest.testtype=qa-performance runtests
Comment 1 Petr Blaha 2005-04-29 15:42:15 UTC
Created attachment 21919 [details]
suggested changes
Comment 2 Jesse Glick 2005-04-29 16:51:59 UTC
Could you please provide a more usable patch? Without gratuitous reindentation,
and using -u (unified context diff)?

http://www.netbeans.org/community/contribute/patches.html
Comment 3 Petr Blaha 2005-05-02 15:28:48 UTC
I'm sorry, the correct diff is attached yet.
Comment 4 Petr Blaha 2005-05-02 15:30:35 UTC
Created attachment 21937 [details]
diff with correct -u option
Comment 5 Jesse Glick 2005-05-02 20:07:06 UTC
Looks better, thanks.
Comment 6 Jesse Glick 2005-05-02 22:15:06 UTC
Implemented:

committed   * Up-To-Date  1.31       
apisupport/project/src/org/netbeans/modules/apisupport/project/Actions.java
committed   * Up-To-Date  1.56       
apisupport/project/src/org/netbeans/modules/apisupport/project/NbModuleProject.java

but note that when I tried to test it by running

j2ee/test/qa-performance/src/memory/MeasureBaselineMemoryFootprint.java

I got an error:

....
compiler-launcher:
Preparing single testbag with default executor/compiler/result processor
/space/src/nb_all/nbbuild/templates/xtest.xml:86: The following error occurred
while executing this line:
/space/src/nb_all/j2ee/test/build.xml:31: The following error occurred while
executing this line:
/space/src/nb_all/xtest/lib/module_harness.xml:339: You have to set default
executor when executing single test.
BUILD FAILED
Comment 7 L Martinek 2005-05-03 08:56:40 UTC
There was no default executor which is needed for running single test. I fixed it.