Changeset a4fb8d0 in git


Ignore:
Timestamp:
26/01/14 23:38:02 (6 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
699bf50
Parents:
c001c40
Message:

tests/bad_units_factor.svx,tests/cavern.tst: Test that "*units
backclino 0 percent" gives an error about the factor being zero.
tests/Makefile.am,tests/bad_units_factor.out: Add expected output
to make sure we're getting the errors we expect, not just the
expected number of errors.

Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rc001c40 ra4fb8d0  
     1Sun Jan 26 23:35:18 GMT 2014  Olly Betts <olly@survex.com>
     2
     3        * tests/bad_units_factor.svx,tests/cavern.tst: Test that "*units
     4          backclino 0 percent" gives an error about the factor being zero.
     5        * tests/Makefile.am,tests/bad_units_factor.out: Add expected output
     6          to make sure we're getting the errors we expect, not just the
     7          expected number of errors.
     8
    19Fri Jan 24 06:20:49 GMT 2014  Olly Betts <olly@survex.com>
    210
  • tests/Makefile.am

    rc001c40 ra4fb8d0  
    7676back.svx back.pos\
    7777notentranceorexport.svx inferunknown.svx inferexports.svx\
    78 bad_units_factor.svx percent_gradient.svx percent_gradient.pos\
     78bad_units_factor.svx bad_units_factor.out\
     79percent_gradient.svx percent_gradient.pos\
    7980dotinsurvey.svx dotinsurvey.out\
    80812fixbug.svx leandroclino.svx leandroclino.pos lowsd.svx revdir.svx revdir.pos\
  • tests/bad_units_factor.svx

    rc001c40 ra4fb8d0  
    44*units clino 0 grads
    55*units depth 0 metres
    6 *units altitude 0 meters
     6*units altitude 0 yards
     7*units backclino 0 percent
  • tests/cavern.tst

    rc001c40 ra4fb8d0  
    22#
    33# Survex test suite - cavern tests
    4 # Copyright (C) 1999-2004,2005,2006,2010,2012,2013 Olly Betts
     4# Copyright (C) 1999-2004,2005,2006,2010,2012,2013,2014 Olly Betts
    55#
    66# This program is free software; you can redistribute it and/or modify
     
    197197  inferunknown) pos=fail; error=1 ;;
    198198  inferexports) pos=no; warn=0 ;;
    199   bad_units_factor) pos=fail; error=5 ;;
     199  bad_units_factor) pos=fail; error=6 ;;
    200200  percent_gradient) pos=yes; warn=0 ;;
    201201  dotinsurvey) pos=no; warn=2 ;;
Note: See TracChangeset for help on using the changeset viewer.