Changeset 11140

Show
Ignore:
Timestamp:
2008-09-02 04:05:37 (3 months ago)
Author:
olly
Message:

tests/stemtest.cc: Update for new xapian-data directory structure.

Location:
trunk/xapian-core
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/xapian-core/ChangeLog

    r11136 r11140  
     1Tue Sep 02 03:05:10 GMT 2008  Olly Betts <olly@survex.com> 
     2 
     3        * tests/stemtest.cc: Update for new xapian-data directory structure. 
     4 
    15Tue Aug 26 09:26:49 GMT 2008  Olly Betts <olly@survex.com> 
    26 
  • trunk/xapian-core/tests/stemtest.cc

    r10221 r11140  
    33 * Copyright 1999,2000,2001 BrightStation PLC 
    44 * Copyright 2002 Ananova Ltd 
    5  * Copyright 2002,2003,2004,2007 Olly Betts 
     5 * Copyright 2002,2003,2004,2007,2008 Olly Betts 
    66 * 
    77 * This program is free software; you can redistribute it and/or 
     
    118118    string dir = srcdir + "/../../xapian-data/stemming/"; 
    119119 
    120     ifstream txt((dir + language + ".voc").c_str()); 
     120    ifstream txt((dir + language + "/voc.txt").c_str()); 
    121121    if (!txt.is_open()) { 
    122         SKIP_TEST(language + ".voc not found"); 
     122        SKIP_TEST(language + "/voc.txt not found"); 
    123123    } 
    124124 
    125     ifstream st((dir + language + ".st").c_str()); 
     125    ifstream st((dir + language + "/output.txt").c_str()); 
    126126    if (!st.is_open()) { 
    127127        txt.close(); 
    128         SKIP_TEST(language + ".st not found"); 
     128        SKIP_TEST(language + "/output.txt not found"); 
    129129    } 
    130130