7a43c2e860
Make FSEntry::dirname() return a FSEntry
Mark Loeser
2006-02-07 20:39:29 +00:00
1a7690a561
Add FSEntry::dirname(), cwd() and is_symbolic_link(). Also changed _stat() to use lstat() instead of stat().
Mark Loeser
2006-02-07 19:48:02 +00:00
93cfe52ddd
Move the const to make gcc4.0 happy.
Ciaran McCreesh
2006-02-07 02:23:38 +00:00
99d014f769
Warn if we can't use repo_name
Ciaran McCreesh
2006-02-06 19:39:11 +00:00
e669b0130a
Added SelectSecond and tests
Mark Loeser
2006-02-06 15:34:47 +00:00
0057f20a44
Make has_permission, ctime, and mtime throw FSError.
Mark Loeser
2006-02-06 14:59:25 +00:00
218166b380
Add use?, !use? dep atom tests
Ciaran McCreesh
2006-02-05 01:39:15 +00:00
0d6e6c165f
In test environment, use flags whose name contains the string 'enabled' are enabled.
Ciaran McCreesh
2006-02-05 01:34:25 +00:00
0f9b6d1989
Quite why it took me this long to notice the misspelling of my name I do not know.
Stephen P. Bennett
2006-02-05 01:14:46 +00:00
8662ff7643
Block dep atoms are now less broken.
Ciaran McCreesh
2006-02-05 01:13:16 +00:00
cd30e18282
Adding test case for "|| ( )"
Saleem Abdulrasool
2006-02-05 01:10:52 +00:00
e0647463e0
Make non-* use.conf entries work
Ciaran McCreesh
2006-02-05 00:21:43 +00:00
34b66431bf
Add a couple of dep_list tests that make use of slot deps.
Ciaran McCreesh
2006-02-04 23:23:52 +00:00
b3d054b924
Make --query list any slot restrictions that are in place, like it does for version restrictions.
Ciaran McCreesh
2006-02-04 23:17:47 +00:00
252ffe6b42
Support slot deps. Add test cases for package_dep_atom.
Ciaran McCreesh
2006-02-04 23:15:32 +00:00
0d56e4d773
Make RepositoryNameValidator::validate do some validation rather than just accepting anything.
Ciaran McCreesh
2006-02-04 22:46:37 +00:00
3dfd20069c
Fix the --version libstdc++ display. We have to use some slightly icky macro voodoo because g++4 defines __GLIBCXX__ as nothing.
Ciaran McCreesh
2006-02-04 22:43:52 +00:00
7f8bc0c685
Add FSEntry::ctime() and mtime()
Mark Loeser
2006-02-04 21:43:37 +00:00
bda262d789
Tidy up the test extras and reduce compilation times. Use SingletonAsNeeded for Log to avoid initialisation order issues. Don't display Log messages when running tests.
Ciaran McCreesh
2006-02-04 20:30:17 +00:00
f0cafc25ec
Include the exit status in the log
Ciaran McCreesh
2006-02-04 17:12:42 +00:00
8d66696d83
If we can't generate cache, set EAPI to UNKNOWN
Ciaran McCreesh
2006-02-04 17:12:28 +00:00
bf90453431
DepList is supposed to offer the strong exception guarantee, but didn't. Now it should. Includes some fairly slow debug code to check this and throw InternalError if it doesn't work for now.
Ciaran McCreesh
2006-02-04 16:16:42 +00:00
45150efdc6
fix stupid typo
Stephen P. Bennett
2006-02-04 16:09:41 +00:00