Skip to content

Commit 2cb4b6b

Browse files
committed
Fix Merge errors
1 parent 283be1a commit 2cb4b6b

File tree

3 files changed

+0
-53
lines changed
  • tests/tests/uvm-systemc

3 files changed

+0
-53
lines changed
Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<<<<<<< Upstream, based on temp_uvmsc_regression_merge
2-
31
//----------------------------------------------------------------------
42
// Copyright 2009 Cadence Design Systems, Inc.
53
// Copyright 2012-2014 NXP B.V.
@@ -39,45 +37,3 @@ int sc_main(int, char*[])
3937

4038
return 0;
4139
}
42-
=======
43-
44-
//----------------------------------------------------------------------
45-
// Copyright 2009 Cadence Design Systems, Inc.
46-
// Copyright 2012-2014 NXP B.V.
47-
// All Rights Reserved Worldwide
48-
//
49-
// Licensed under the Apache License, Version 2.0 (the
50-
// "License"); you may not use this file except in
51-
// compliance with the License. You may obtain a copy of
52-
// the License at
53-
//
54-
// http://www.apache.org/licenses/LICENSE-2.0
55-
//
56-
// Unless required by applicable law or agreed to in
57-
// writing, software distributed under the License is
58-
// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
59-
// CONDITIONS OF ANY KIND, either express or implied. See
60-
// the License for the specific language governing
61-
// permissions and limitations under the License.
62-
//----------------------------------------------------------------------
63-
64-
#include <systemc>
65-
#include <uvm>
66-
67-
#include "component.h"
68-
69-
int sc_main(int, char*[])
70-
{
71-
sc_core::sc_set_time_resolution( 1, sc_core::SC_FS );
72-
73-
// instantiate UVM component via the factory
74-
my_component* component;
75-
component = my_component::type_id::create("Top", nullptr);
76-
77-
uvm::run_test();
78-
79-
my_component::type_id::destroy(component);
80-
81-
return 0;
82-
}
83-
>>>>>>> 5aa50b6 Fix regression tests to avoid -Winconsistent-overrides -Woverloaded-virtual

tests/tests/uvm-systemc/examples_uvmsc/packer/operators/packet.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,8 @@ class packet : public uvm::uvm_object
117117
data = drhs->data;
118118
}
119119

120-
<<<<<<< Upstream, based on temp_uvmsc_regression_merge
121-
virtual bool do_compare( const uvm::uvm_object& rhs,
122-
const uvm::uvm_comparer* comparer = nullptr ) const
123-
=======
124120
bool do_compare( const uvm::uvm_object& rhs,
125121
const uvm::uvm_comparer* comparer = NULL ) const override
126-
>>>>>>> 5aa50b6 Fix regression tests to avoid -Winconsistent-overrides -Woverloaded-virtual
127122
{
128123
const packet* drhs = dynamic_cast<const packet*>(&rhs);
129124
if (!drhs)

tests/tests/uvm-systemc/unit_tests/01report/10catcher/03regnull/golden/test.log

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
SystemC Simulation
22
UVM_INFO @ 0 s: reporter [RNTST] Running test test...
3-
<<<<<<< Upstream, based on temp_uvmsc_regression_merge
43
UVM TEST - ERROR expected since registering a default catcher with nullptr handle
5-
=======
6-
UVM TEST - ERROR expected since registering a default catcher with NULL handle
7-
>>>>>>> 5aa50b6 Fix regression tests to avoid -Winconsistent-overrides -Woverloaded-virtual
84
UVM_ERROR @ 0 s: reporter [CBUNREG] nullptr callback object cannot be registered with object (*) (uvm_object)
95
UVM TEST EXPECT 1 UVM_ERROR
106
UVM_INFO <removed by verify-uvm.pl> @ 0 s: reporter [UVM/REPORT/SERVER]

0 commit comments

Comments
 (0)