Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Macros | Functions
output.cpp File Reference
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "cmdopt.h"
#include "display.h"
#include "util.h"
#include "output.h"
Include dependency graph for output.cpp:

Go to the source code of this file.

Macros

#define ENOENT   2
 
#define DELTA_BUF_LEN   64
 

Functions

void parse_output (const struct target_opts *options, struct target_status *status)
 

Macro Definition Documentation

◆ DELTA_BUF_LEN

#define DELTA_BUF_LEN   64

Arbitrary constant controling static read buffer size.

See also
check_example ()

Definition at line 204 of file output.cpp.

◆ ENOENT

#define ENOENT   2

output.cpp - Definitions of the result parsing subsystem

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 44 of file output.cpp.

Function Documentation

◆ parse_output()

void parse_output ( const struct target_opts *  options,
struct target_status *  status 
)

output.h - Interface declaration for the result parsing subsystem

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Umbrella (dispatch) function to analyse the (saved) output of target.

This file opens the saved output for parsing. If this fails, the status structure is updated to reflect this. Otherwise, check_test (), check_compat_test (), or check_example () is called to parse the output file.

Parameters
targetthe path to the executable that generated the output file being parsed.
statusstatus object to record results in.

Definition at line 328 of file output.cpp.