Changeset 519 for trunk


Ignore:
Timestamp:
Jul 19, 2010, 4:52:54 PM (9 years ago)
Author:
lindanl
Message:

Take out XML1.1

Location:
trunk/QA
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/QA/error_note_wf.py

    r450 r519  
    77from string import *
    88
    9 parabix_home = "/home/likewise-open/ADSFU/cameron/proto/parabix2/compiled"
    10 xmlconf_home = "/home/likewise-open/ADSFU/cameron/proto/parabix2/compiled/QA/xmlconf"
    11 output_home = "/home/likewise-open/ADSFU/cameron/proto/parabix2/compiled/QA/testoutput"
     9xmlconf_home = "/home/linda/workspace/parabix1/trunk/QA/xmlconf"
     10output_home = "/home/linda/workspace/parabix1/trunk/QA/testoutput"
    1211output_files = output_home+"/Files"
    1312output_messages = output_home+"/Messages"
    14 
     13give_reason = False
    1514
    1615subdir_prefix = ''
     
    3534                               
    3635        elif name == 'TEST':
     36                for a in attrs:
     37                        if a == 'RECOMMENDATION':
     38                                if attrs[a] == 'XML1.1':
     39                                        return
    3740                for a in attrs:
    3841                        if a == 'TYPE':
     
    7477
    7578def character_data(data):
    76         if appendreason == True:
    77           unsolved.append(data+'\n')
    78          
     79        if give_reason == True:
     80          if appendreason == True:
     81            unsolved.append(data+'\n')
     82
    7983def end_element(name):
    8084      global appendreason
     
    9195        for e in unsolved:
    9296                wf_f.write(e)
     97        print 'The number of unsolved cases is '+ str(len(unsolved))
    9398        wf_f.close()
    9499        file_type = 'valid'
     
    110115                error_f.write(e)
    111116        error_f.close()
    112         print len(All_files)
     117        print 'Total number of test cases is ' + str(len(All_files))
    113118       
    114119       
  • trunk/QA/parabix_wf.py

    r450 r519  
    77from string import *
    88
    9 parabix_home = "/home/likewise-open/ADSFU/cameron/proto/parabix2/compiled"
    10 xmlconf_home = "/home/likewise-open/ADSFU/cameron/proto/parabix2/compiled/QA/xmlconf"
    11 output_home = "/home/likewise-open/ADSFU/cameron/proto/parabix2/compiled/QA/testoutput"
     9parabix_home = "/home/linda/workspace/parabix2/parabix2/src"
     10xmlconf_home = "/home/linda/workspace/parabix1/trunk/QA/xmlconf"
     11output_home = "/home/linda/workspace/parabix1/trunk/QA/testoutput"
    1212output_files = output_home+"/Files"
    1313output_messages = output_home+"/Messages"
     
    3030                for a in attrs:
    3131                        if a == 'xml:base':
    32                                 subdir_prefix = '/'+attrs[a]   
    33                                
     32                                subdir_prefix = '/'+attrs[a]           
    3433        elif name == 'TEST':
    3534                program = program_to_test
     
    3938                                        #program = edition5_program_to_test
    4039                for a in attrs:
     40                        if a == 'RECOMMENDATION':
     41                          if attrs[a] == 'XML1.1':
     42                            return
     43                for a in attrs:                     
    4144                        if a == 'URI':
    4245                                addr = attrs[a].split('/')
Note: See TracChangeset for help on using the changeset viewer.