]> gitweb.factorcode.org Git - factor.git/commitdiff
gdbm: Change the gdbm test file to have a different name on 32/64 bit. Fixes #673...
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 29 Mar 2013 21:15:47 +0000 (14:15 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 29 Mar 2013 21:17:13 +0000 (14:17 -0700)
extra/gdbm/gdbm-tests.factor

index 18ca0d02aa47e92a9424f3daba5a6a60f83f65b5..2aac4b213ce4becad4384e1acd346b67be23de9a 100644 (file)
@@ -4,7 +4,7 @@ USING: accessors arrays continuations gdbm io.directories
 io.files.temp kernel sequences sets system tools.test ;
 IN: gdbm.tests
 
-: db-path ( -- filename ) "test.db" temp-file ;
+: db-path ( -- filename ) cpu name>> "-test.db" append temp-file ;
 
 : CLEANUP ( -- ) [ db-path delete-file ] ignore-errors ;