Commit Graph

54 Commits (8f892d0f36fda170a5cecf0aea89887d6d0e45ef)

Author SHA1 Message Date
Nat Goodspeed edb999ab03 Remove tab chars inherited with file... 2010-06-21 17:02:16 -04:00
Nat Goodspeed 477fb26c1e Centralize LD_LIBRARY_PATH logic with new SET_TEST_PATH macro.
Add ${SHARED_LIB_STAGING_DIR_RELEASE} to LD_LIBRARY_PATH for executing tests:
otherwise Debug-build tests can't find (e.g.) the aprutil DLL, for which we
don't build/package a debug variant.
Leverage discovery that a CMake macro can accept a target variable name
argument for LL_TEST_COMMAND macro.
2010-06-18 17:38:21 -04:00
Nat Goodspeed 57b68d9bfe Resync indra/test's LD_LIBRARY_PATH with ADD_INTEGRATION_TEST 2009-12-03 12:00:20 -05:00
Steve Bennetts 65bf35cfed merge 2009-10-19 10:49:48 -07:00
Mark Palange (Mani) 3e10fa4d51 merge from latest svn/viewer-2-0 to hg/viewer-2-0 2009-10-16 16:42:45 -07:00
Adam Moss a0ee6fbbdd DEV-41408 convert lldependencies tut test to llcommon integration test. 2009-10-16 13:42:58 +00:00
Adam Moss 6c32554591 DEV-41405 convert llxfer test to a llmessage integration test. 2009-10-16 12:57:58 +00:00
Adam Moss b2641d8915 DEV-41404 convert monolithic tut llinventoryparcel test to llinventory integration test. 2009-10-16 12:45:19 +00:00
Adam Moss fc6c7e3933 DEV-41403 convert reflection tut test to llcommon integration test. 2009-10-16 11:37:17 +00:00
Adam Moss 95cf5766f9 DEV-41402 convert stringize tut test to llcommon integration test. 2009-10-16 11:32:46 +00:00
Adam Moss 56fed69c4a remove moved test from this CMakeLists. 2009-10-15 19:06:40 +00:00
Adam Moss 7c55efa4bc DEV-41363 convert legacy llhost tut test into a llmessage integration test. 2009-10-15 18:41:04 +00:00
Adam Moss 11501bb4b4 DEV-41355 convert llmime monolithic tut test to a llmessage unit test. 2009-10-15 18:16:51 +00:00
Adam Moss db6dff1d1f DEV-41354 convert llerror tut test into a llcommon integration test 2009-10-15 18:10:46 +00:00
Adam Moss 986bf99839 DEV-41352 convert lluri tut test to a llcommon integration test 2009-10-15 18:05:15 +00:00
Adam Moss f31397291b DEV-41345 turn llmodularmath_tut into a real llmath unit test. 2009-10-15 16:59:54 +00:00
Adam Moss c7df37b531 DEV-41344 convert monolithic tut lltreeiterators test to a llcommon integration test. 2009-10-15 16:49:08 +00:00
Adam Moss 226c08130d DEV-41343 lljoint unit test - resurrected - this was previously disabled (and old-style monolithic tut) 2009-10-15 16:43:12 +00:00
Adam Moss 423f5b0078 DEV-41341 tut lltiming test -> llframetimer integration test 2009-10-15 16:32:56 +00:00
Adam Moss 2a99e18ea1 DEV-41178 convert lldate legacy monolithic tut test into a llcommon integration test. 2009-10-12 14:56:03 +00:00
Adam Moss 2798d1bc67 DEV-41176 convert legacy inventory.cpp tut test into an llinventory integration test. 2009-10-12 14:32:16 +00:00
Adam Moss c3c03419fe DEV-41175 convert legacy common.cpp tut test into llcommon integration test. 2009-10-12 14:20:51 +00:00
Adam Moss b73e71ebdf DEV-41174 more automated testing love
* turn llnamevalue_tut into a llmessage unit test
* turn llsdserialize_tut into a llcommon integration test
* re-enable the (quite slow) llsdserialize test on win32 now that it doesn't have to run on every recompile
* re-enable all llmessage unit tests on linux viewer builds
2009-10-12 14:13:57 +00:00
Adam Moss 1ee1570288 DEV-41090 convert legacy llrand tut test into a llcommon integration test. 2009-10-08 13:52:53 +00:00
Adam Moss 6ee4a7f429 DEV-41089 convert legacy tut llrect test into a llmath integration test. 2009-10-08 13:46:20 +00:00
Adam Moss 5fe65644b5 DEV-41088 convert legacy 'math' test module into 'mathmisc' integration test. 2009-10-08 13:36:46 +00:00
Adam Moss ec08dec207 repair the legacy tut test manifest. 2009-10-08 12:53:59 +00:00
brad kittenbrink bb1d4592bd Merged latest viewer/viewer-20 into login-api. 2009-09-18 15:22:25 -04:00
Nat Goodspeed b9546a33e9 QAR-1619: Finish replacing RunBuildTest.cmake with run_build_test.py.
Because the details of RunBuildTest.cmake versus run_build_test.py had to be
changed in so many different places, introduce LL_TEST_COMMAND CMake macro (in
LLTestCommand.cmake) to encapsulate construction of the actual command line.
Use LL_TEST_COMMAND in LL_ADD_PROJECT_UNIT_TESTS, LL_ADD_INTEGRATION_TEST, the
big indra/test monolith and the various LslCompilerMacros.
Fix run_build_test.py to pass through the test executable's own options (e.g.
--touch, --output) without inspection. Defend it against the case when the
platform-specific library path environment variable doesn't yet exist. Make it
report errors only on nonzero test-program rc.
Remove RunBuildTest.cmake.
2009-09-08 12:03:32 -04:00
Bryan O'Sullivan 30ff6cabd6 Merge with trunk 2009-08-31 13:47:47 -07:00
Nat Goodspeed 2965f5ff38 Add SHARED_LIB_STAGING_DIR to LD_LIBRARY_PATH for indra/test executable, as with LLAddBuildTest 2009-08-11 15:51:56 -04:00
brad kittenbrink a7efd0d8dd Merged in viewer-2.0.0-3 changes up through r129050. Boost got clobbered so I'll need to rebuild that, plus a couple other minor clenaups. 2009-07-30 19:39:08 -07:00
Mark Palange (Mani) fe339408ce DEV-35399 - Making the server build llcommon.dll compatible.
Fixing up string escaping on calls to RunBuildTest.cmake
Also added ilasm.bat to the FindMono.cmake search
2009-07-28 18:03:28 -07:00
Mark Palange (Mani) b029846e81 DEV-35399 - Making the server build llcommon.dll compatible.
Now using RunBuildTest.cmake to run tut and lscript_lsl tests, inorder to set path to llcommon.dll
Exported a few llcommon apis needed by server components/tests.
2009-07-28 13:20:23 -07:00
Martin Reddy 28c9537398 DEV-35500: Write new llmath unit tests
- Added unit tests for LLRect and LLBBoxLocal in indra/test
- Moved newview/LLBBox to llmath, and added unit tests for it
- Removed methods in llbboxlocal.h and llbbox.h that were not
  actually implemented (declared in .h, but not defined in cpp)

Reviewed by babbage.
2009-07-15 16:02:31 +00:00
Dave Hiller c2e425e539 QAR-1651
svn merge -r126784:126785 svn+ssh://svn.lindenlab.com/svn/linden/branches/mock-3 into trunk
2009-07-14 16:52:40 +00:00
Bryan O'Sullivan baa73fddd9 Merge with viewer-2.0.0-3 branch 2009-06-22 15:02:19 -07:00
Steven Bennetts 9ec432034d merge -r 122421-124917 viewer-2.0.0-2 -> viewer-2.0.0-3
ignore-dead-branch
2009-06-21 08:04:56 +00:00
Brad Kittenbrink 087bd26553 Merge of QAR-1383 event-system-7 into trunk.
svn merge -r 121797:121853 svn+ssh://svn.lindenlab.com/svn/linden/branches/merge-event-system-7
2009-06-04 16:24:21 +00:00
Nat Goodspeed c607752a9d DEV-32777: ensure that stack objects listening on persistent LLEventPumps get
properly disconnected when destroyed.
Break out Debug class and associated macros from lleventcoro_test.cpp into test/debug.h.
Add Debug output to lllogin_test.
2009-05-28 21:25:58 +00:00
Nat Goodspeed 3800c0df91 svn merge -r114679:114681 svn+ssh://svn.lindenlab.com/svn/linden/branches/event-system/event-system-7 svn+ssh://svn.lindenlab.com/svn/linden/branches/event-system/event-system-8 2009-05-08 21:08:08 +00:00
Steven Bennetts a4000c3744 merge trunk@116587 skinning-7@119389 -> viewer-2.0.0-skinning-7 2009-05-08 07:43:08 +00:00
Bryan O'Sullivan b5ef0bb6c2 Clean up use of tut 2009-03-02 22:28:49 +00:00
Robert Knop c88b470a8a svn merge -r108815:112761 svn+ssh://svn.lindenlab.com/svn/linden/branches/server/server-1.26
The biggest things in this are Scalable Space Servers and Maint-Server-6

QAR-1209 : SSS
QAR-1295 : maint-server-6

Conflicts resolved by prospero:

C    scripts/farm_distribute

C    scripts/automated_build_scripts/build-linux.sh : resolved by
                     prospero, mostly kept the merge-right version in
                     the conflict, but there was one block of repeated
                     code from earlier that I removed.

C    scripts/automated_build_scripts/build-mac.sh : kept merge-right

C    indra/llcommon/llversionserver.h : svn revert

C    indra/newsim/llsimparcel.h : kept *both*... working had "setArea",
                    merge-right had exportStream and importStream

C    indra/newsim/llsimparcel.cpp : see llsimparcel.h

C    indra/newsim/lltask.h : working had LLTask derived also from
                   LLScriptResourceConsumer, merge-right had LLTask
                   dervied also from LLAgentPosition.  To resolve
                   conflict, derive from both.

C    indra/newsim/lllslmanager.h : kept merge-right (had an added comment)

C    indra/llmessage/llhttpnode.h : kept working (added the definition
                   of method LLHTTPNode::extendedResult)

C    indra/lscript/lscript_execute_mono/llscriptexecutemono.cpp
C    indra/lscript/lscript_execute_mono/llscriptexecutemono.h
                  : These two were resolved by si, in consultation with daveh


I also had to add the following stubs to
indra/newsim/tests/llgodkickutils_test.cpp in order to get it to
compile:

  // LLScriptResourceConsumer interface methods in LLTask
  LLScriptResource::LLScriptResource() { }
  LLScriptResourcePool::LLScriptResourcePool() { }
  LLScriptResourcePool LLScriptResourcePool::null;

  LLScriptResourceConsumer::LLScriptResourceConsumer() { }
  LLScriptResourcePool& LLScriptResourceConsumer::getScriptResourcePool() { return LLScriptResourcePool::null; }
  const LLScriptResourcePool& LLScriptResourceConsumer::getScriptResourcePool() const { return LLScriptResourcePool::null; }
  bool LLScriptResourceConsumer::switchScriptResourcePools(LLScriptResourcePool& new_pool) { return false; }
  bool LLScriptResourceConsumer::canUseScriptResourcePool(const LLScriptResourcePool& resource_pool) { return false; }
  bool LLScriptResourceConsumer::isInPool(const LLScriptResourcePool& resource_pool) { return false; }
  void LLScriptResourceConsumer::setScriptResourcePool(LLScriptResourcePool& pool) { }

  S32 LLTask::getUsedPublicURLs() const { return 0; }
  void LLTask::setScriptResourcePool(LLScriptResourcePool& pool) { }
2009-02-25 21:02:17 +00:00
Kelly Washington aa2b978bf5 merge -r 112783:112799 linden/branches/kelly/lsl-http-in-merge to linden/trunk 2009-02-24 19:29:36 +00:00
Brad Kittenbrink abdc99f21b Merge of QAR-1267 to trunk. This was a combo merge of QAR-1175 (maint-render-9) and QAR-1236 (dll-msvcrt-2)
svn merge -r 109838:112264 svn+ssh://svn.lindenlab.com/svn/linden/branches/maint-render/maint-render-9-merge-r109833
2009-02-18 21:10:16 +00:00
Christian Goetze 34412f0530 svn merge -c 112301 svn+ssh://svn.lindenlab.com/svn/linden/branches/sim-ao/sim-ao-4 propagate bandaid for DEV-27390 2009-02-18 08:24:13 +00:00
Andrew Meadows 5f3875018e svn merge -r99056:99248 svn+ssh://svn.lindenlab.com/svn/linden/branches/andrew/gcc-4-003-for-merge 2008-10-10 16:04:02 +00:00
Christian Goetze b069bb9e71 svn merge -r96886:98039 svn+ssh://svn.lindenlab.com/svn/linden/branches/Branch_1-24-Server --> release 2008-10-01 00:42:47 +00:00
Paul Oppenheim 728e2c6e70 fix for DEV-18488 - remove optimization for RelWithDebInfo for Darwin builds. Not reviewed, mailed to cmake@. Pretty minor, not destructive. Also removing test lldatabase_tut on mac for DEV-14371 until theres a sane way to do connection checking. I could be wrong on this one. 2008-08-18 08:09:52 +00:00