Commit Graph

51 Commits

Author SHA1 Message Date
Steve Nygard
26f6c0099a Exclude app from tests. 2019-03-12 09:18:59 -06:00
Steve Nygard
b5f8a45984 Do comparisons against version 3.5. 2019-03-03 00:10:45 -07:00
Steve Nygard
2daa882406 Replace opendiff with ksdiff. 2015-06-02 19:12:07 -06:00
Steve Nygard
4b5513b91b Use version 3.4 as previous class-dump version, for comparison. 2013-11-03 14:58:48 -07:00
Steve Nygard
859f7247e5 Ignore the capability bits on the cpusubtype when matching architectures.
Add tests.  Grab.app has LIB64 capability bits on 10.8.
2012-09-19 13:08:14 -06:00
Steve Nygard
b9aa7d442e One line of output per app/framework/bundle. 2012-07-16 04:05:31 -06:00
Steve Nygard
feb520870d Run the tests a bit more in parallel. 2012-07-16 03:56:33 -06:00
Steve Nygard
30187d56cb Use shlex to split args to subprocesses. 2012-07-16 03:38:36 -06:00
Steve Nygard
14191f3a7c Use xcode-select to find the developer root. Use xcodebuild to print sdks, and specify sdks. 2012-07-16 03:26:09 -06:00
Steve Nygard
1549809c82 Switch from getopt to the new argparse module. 2012-07-16 02:25:31 -06:00
Steve Nygard
3a52c96487 Updated paths to class-dump. Wait for the processes to finish, so we don't end up with 60+ processes running if they fall behind. 2012-02-25 05:34:46 -07:00
Steve Nygard
3e598e6859 Added notes about using xcodebuild to find sdks, sdk paths. 2012-01-24 12:47:12 -07:00
Steve Nygard
09cad43ac6 Tweaking the output. 2011-08-28 01:59:04 -06:00
Steve Nygard
526a6981e9 Added --dev-root= option to specify alternate dev tool installation directories. 2011-07-31 19:10:42 -06:00
Steve Nygard
ca690c69d9 Simple script to show and colorize diffs of test output in Terminal.
opendiff on Lion takes at least 4 seconds, even for two small, trivial comparisons.  This
makes is useless for comparing large numbers of files.

Kaleidoscope keeps all the files open, and runs into file handle limits.

Both make key and order front the new windows, which make the computer unusable for other tasks
while running a script that calls opendiff/ksdiff repeatedly.

This uses colordiff from <http://colordiff.sourceforge.net/>
2011-07-31 19:10:10 -06:00
Steve Nygard
d5d74723b4 Added 4.1 sdk to tests. Touched project with Xcode 3.2.4. 2010-08-08 01:13:13 -06:00
Steve Nygard
2f6bc7f253 Pass array to Popen so that we don't need to escape args (like for iWork '09). 2010-06-17 00:48:15 -06:00
Steve Nygard
22a7c780b3 Added option to test Mac OS X or iOS files, and to specify sdk root. 2010-06-16 23:50:16 -06:00
Steve Nygard
28e15f8af0 A python version of this seems easier to deal with. 2010-06-02 00:30:06 -06:00
Steve Nygard
a570bf026a Added some bundles to the list. 2009-09-16 15:28:14 -06:00
Steve Nygard
43a1f17580 It parses the bind section now. 2009-08-30 03:17:38 +00:00
Steve Nygard
edd0e04bb8 Handle phase3 structure containing an array of (named) structs. Test case was Acorn. 2009-08-25 03:25:01 +00:00
Steve Nygard
11e8e0493c Tweaked which named structures should be expanded inline. 2009-08-25 02:04:27 +00:00
Steve Nygard
dd2bada8c8 Just testing debug version. 2009-08-04 11:19:03 +00:00
Steve Nygard
a9bb71047e Don't use 3.1.2 as the old version 2009-07-10 11:51:45 +00:00
Steve Nygard
5ab40d461b Tested against all available iPhone SDKs, not included the just-release 3.1 beta. 2009-07-02 02:44:44 +00:00
Steve Nygard
7732d05867 Fixed one more place where we get null NXArchInfos. This time in the Arch: line of output for iPhone SDK frameworks. 2009-07-02 02:35:23 +00:00
Steve Nygard
0deb172dec Added CDLCPreboundDylib, really just a placehold to stop the warning about an unknown load command. 2009-07-02 01:46:32 +00:00
Steve Nygard
c60e3d7384 The --list-arches option now lists unknown architectures as two hex numbers separated by a colon, instead of "unknown", so this
can be used by the --arch command.  i.e. 0xc:0x6.  Can also use c:6.  This lets the testing script go through the iPhone
frameworks.
2009-06-30 04:54:44 +00:00
Steve Nygard
bb77d6b94c Remove output for non-objc containing files. 2009-06-30 03:51:57 +00:00
Steve Nygard
5446952774 And then actually use the lists of apps/framworks made at the top. 2009-06-30 03:23:45 +00:00
Steve Nygard
fdde897690 Tweaking testing script. 2009-06-30 03:15:18 +00:00
Steve Nygard
da88788625 Handle LC_RPATH load command. Don't need to mask command before checking after all, that flag is set in LC_RPATH. 2009-06-30 03:05:30 +00:00
Steve Nygard
df60c66874 Need to set up the byte ordering for all these data cursors. 2009-06-30 02:45:23 +00:00
Steve Nygard
ae2faa42ab Added notes, tweaked testing. 2009-06-26 18:58:27 +00:00
Steve Nygard
3349fe99f4 Removed extra newline from property handling. 2009-06-26 17:46:35 +00:00
Steve Nygard
65f4d8a1f1 Added more paths for testing apps. 2007-11-04 21:27:00 +00:00
Steve Nygard
147c7a28a2 Need to tell it what arch to use! 2007-11-04 20:13:00 +00:00
Steve Nygard
f7bff99f36 More thorough testing, dump all the arches. Ugh. 2007-11-04 20:05:10 +00:00
Steve Nygard
0ddbb0bcc1 Added /Applications/*/*.app 2007-11-02 14:49:04 +00:00
Steve Nygard
0c78b8292b Added start/stop times. Changed versions we use for comparison. 2007-11-02 14:47:01 +00:00
Steve Nygard
88f773e4b0 Added more paths to apps for testing. 2007-11-02 14:12:04 +00:00
Steve Nygard
540c0f56e5 Suppress version info on both new and old versions now. 2007-02-20 08:13:58 +00:00
Steve Nygard
56cc897b4e Stupid shell programming. Just inlined the damn args. 2006-11-12 11:27:24 +00:00
Steve Nygard
f0edb6f080 Added quotes around args, otherwise they don't seem to be used. 2006-11-12 11:22:01 +00:00
Steve Nygard
e51911d7db Added -t option to args for new class-dump. 2006-11-12 11:18:05 +00:00
Steve Nygard
84f89e63f6 More tweaking, because unfortunately there are structures out there
with some member names, and others not named.  This seems to work at
least as well as the previous release.
2006-10-14 05:40:10 +00:00
Steve Nygard
5550e478b5 Updated paths. 2005-08-16 06:53:19 +00:00
Steve Nygard
c00ad219a3 Added PrivateFrameworks, /Applications and /Applications/Utilities to
things to check.
2004-02-04 23:45:06 +00:00
Steve Nygard
df52ef6181 Updating test script. 2004-02-03 22:37:51 +00:00