Kiln » Fog Creek
Clone URL:  

Integrate Kiln extension test scripts with bfiles test scripts.

Changeset a8e1680e3907

Parent d4f5278f518b

by David Golub

Changes to 3 files · Browse files at a8e1680e3907 Showing diff from parent d4f5278f518b Diff from another changeset...

Change 1 of 1 Show Entire File tests/​common.py Stacked
 
5
6
7
 
8
9
10
11
12
13
14
15
 
16
17
18
 
5
6
7
8
9
10
 
 
11
12
13
 
14
15
16
17
@@ -5,14 +5,13 @@
 import re    import hgtest +import kilntest    # assumes we're run by hg's run-tests.py -TESTDIR = os.environ['TESTDIR'] -  STOREDIR = os.path.join(os.getcwd(), 'store')    DEFAULTRC = { - 'extensions': [('kbfiles', '%s/../kbfiles' % TESTDIR),], + 'extensions': [('kbfiles', kilntest.KBFILESPATH)],   'kilnbfiles': [('systemcache', os.path.join(os.getcwd(), 'bfilesstore')),],   }  
Change 1 of 1 Show Entire File tests/​custom.py Stacked
 
4
5
6
7
8
9
10
 
 
 
 
 
4
5
6
 
 
 
 
7
8
9
10
@@ -4,7 +4,7 @@
 # be created as part of the tests. The username and password given must have  # write access to that repo group.   -KILNAUTHPATH = '/code/kiln/2-0/extensions/kilnauth.py' -KILNURL = 'http://localhost/FogBugz/kiln' -USER = 'test' -PASSWORD = 'tester' +KILNEXTPATH = '~/kiln/extensions' +KILNURL = 'http://davidg.hq.fogcreek.com/kiln' +USER = 'user1@nodomain.com' +PASSWORD = 'abcd1234'
Change 1 of 1 Show Entire File tests/​kilntest.py Stacked
 
14
15
16
 
17
18
19
 
14
15
16
17
18
19
20
@@ -14,6 +14,7 @@
 os.environ['HOME'] = os.path.expanduser('~' + getpass.getuser());    # Paths for the individual extensions +KBFILESPATH = KILNEXTPATH + '/bfiles/kbfiles'  KILNAUTHPATH = KILNEXTPATH + '/kilnauth.py'  GESTALTPATH = KILNEXTPATH + '/gestalt.py'  KILNPATHPATH = KILNEXTPATH + '/kilnpath.py'