Ignore:
Timestamp:
Aug 15, 2000, 8:16:09 AM (25 years ago)
Author:
bird
Message:

Another night of coding/testing/debuging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GRACE/src/win32k/test/win32ktst.c

    r4010 r4017  
    1 /* $Id: win32ktst.c,v 1.1.4.2 2000-08-14 08:57:07 bird Exp $
     1/* $Id: win32ktst.c,v 1.1.4.3 2000-08-15 06:16:09 bird Exp $
    22 *
    33 * Win32k test module.
     
    600600 * Checks that default initiation works fine for a given kernel.
    601601 *
    602  * Syntax:  win32ktst.exe 1 <os2krnl> <majorver> <minorver> <build> <kerneltype: S|U|4> [os2krnl.sym]
     602 * Syntax:  win32ktst.exe 1 <os2krnl> <majorver> <minorver> <build> <kerneltype: S|U|4> <buildtype: A|H|R> [os2krnl.sym]
    603603 *
    604604 * @sketch  Create init packet with no arguments.
     
    618618
    619619    /* verify argument count */
    620     if (argc < 7 || argc > 8)
     620    if (argc < 8 || argc > 9)
    621621    {
    622622        printf("Invalid parameter count for testcase 1.\n");
     
    630630    /* make init string */
    631631    strcpy(szInitArgs, "-w3");
    632     if (argc >= 8)
    633         strcat(strcat(szInitArgs, " -S:"), argv[7]);
     632    if (argc >= 9)
     633        strcat(strcat(szInitArgs, " -S:"), argv[8]);
    634634
    635635    /* $elf */
     
    647647            struct options opt = DEFAULT_OPTION_ASSIGMENTS;
    648648            opt.ulInfoLevel = 3;
    649             opt.fKernel = argv[6][0] == 'S' ? KF_SMP : (argv[6][0] == '4' ? KF_W4 : KF_UNI);
     649            opt.fKernel = (argv[6][0] == 'S' ? KF_SMP : (argv[6][0] == '4' ? KF_W4 | KF_UNI : KF_UNI))
     650                            | (argv[7][0] == 'A' || argv[7][0] == 'H' ? KF_DEBUG : 0);
    650651            opt.ulBuild = atoi(argv[5]);
    651652            opt.usVerMajor = (USHORT)atoi(argv[3]);
Note: See TracChangeset for help on using the changeset viewer.